CustomDomain™ docs
API referenceProvider accounts

The domains the account's key can reach

POST
/provider-accounts/{id}/zones

Lists the provider's domains with the kept key. listed is false for a provider that cannot list them. A refused key flags the account needs_reconnect. A one time account past its hour answers 409, and its key is deleted then if the hourly cleanup has not deleted it yet.

AuthorizationBearer <token>

Long-lived tenant API key, cd_live_… (production) or cd_test_… (staging, development), stored hashed. Keys created before the switch to cd_ start with sk_live_… / sk_test_… and are still accepted. Scoped to the owning application's tenant.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/provider-accounts/string/zones"
{  "zones": [    "string"  ],  "listed": true,  "message": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
Empty
{  "code": "string",  "title": "string",  "details": "string"}