Skip to main content
POST
/
core.v1.ConnectorService
/
CreateConnectorHostname
cURL
curl -X POST "https://api.joinformal.com/core.v1.ConnectorService/CreateConnectorHostname" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "connectorHostname": {
    "id": "<string>",
    "hostname": "<string>",
    "managedTls": true,
    "connector": {
      "id": "<string>",
      "name": "<string>",
      "terminationProtection": true,
      "spaceId": "<string>",
      "space": {
        "id": "<string>",
        "name": "<string>",
        "description": "<string>",
        "terminationProtection": true,
        "createdAt": "2023-01-15T01:30:15.01Z",
        "updatedAt": "2023-01-15T01:30:15.01Z"
      },
      "createdAt": "2023-01-15T01:30:15.01Z",
      "updatedAt": "2023-01-15T01:30:15.01Z"
    },
    "terminationProtection": true,
    "createdAt": "2023-01-15T01:30:15.01Z",
    "updatedAt": "2023-01-15T01:30:15.01Z",
    "tlsCertificateStatus": "none",
    "dnsRecord": "<string>",
    "dnsRecordStatus": "none"
  }
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal dashboard.

Body

application/json
hostname
string
Minimum length: 1
connectorId
string
Minimum length: 1
managedTls
boolean
terminationProtection
boolean
dnsRecord
string
certificate
string<byte> | null
privateKey
string<byte> | null

Response

Success

connectorHostname
object