CustomDomain Docs
API referenceAPI referenceConnections

Start connecting a domain's DNS without sending an access key

Start connecting a domain's DNS without sending an access key: CustomDomain™ API reference. Covers parameters, request body, responses and error codes.

POST
/connections/{id}/keyless:start

Keyless access. Returns the steps the customer follows in their own cloud account, so no key of theirs is sent to CustomDomain™. Idempotent. Answers 503 keyless_unavailable when this deployment has not set the rail up and 400 keyless_invalid for a value that is not accepted. Takes a widget JWT for the connection's own application or an API key, like keyless:complete.

Authorization

AuthorizationBearer <token>

Short-lived widget JWT minted server-side via POST /v1/tokens. Scoped to one application (and optionally one domain).

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/connections/string/keyless:start" \  -H "Content-Type: application/json" \  -d '{    "provider": "string"  }'
{  "connection_id": "string",  "provider": "string",  "zone": "string",  "admin_consent_url": "http://example.com",  "role_assignment_command": "string",  "tag_name": "string",  "tag_value": "string",  "tag_command": "string",  "script": "string",  "label_name": "string",  "label_value": "string",  "label_command": "string",  "aws_account_id": "string",  "aws_role_arn": "string",  "verified": true,  "instructions": [    "string"  ]}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}
{  "code": "account_not_verifiable",  "title": "string",  "details": "string",  "request_id": "string",  "challenge": {    "value": "string",    "bits": 1,    "expires_at": "2019-08-24T14:15:22Z"  }}