CustomDomain Docs
Power

Remove Power (drop the origin, clear config, tear down the cert)

Remove Power (drop the origin, clear config, tear down the cert): CustomDomain™ API reference in the power group. Covers parameters, request body and responses.

DELETE
/connections/{id}/power

Clears the forward and the root path access, drops the origin and tears down the certificate. Clearing a forward is checked like any redirect change: on a domain whose www redirect is on, the visit that went to the forward now goes to the www name, and when that would come back (www forwards to the root) the call is refused with 422 redirect_loop and nothing is changed, the origin included. The www redirect itself is not cleared here (PATCH /connections/{id} turns it off).

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

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/connections/string/power"
Empty
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}
{  "code": "string",  "title": "string",  "details": "string"}