CustomDomain Docs
Secure

Whether a certificate can be issued for this connection yet

Whether a certificate can be issued for this connection yet: CustomDomain™ API reference in the secure group. Covers parameters, request body and responses.

GET
/connections/{id}/ssl:eligibility

Advisory: a certificate is only issuable once the domain points at the edge (connection live or propagating). The widget/console uses this to gate the provision button.

A widget token must be the connection's end user: a connection that names another end user than the token's end_user_ref, or names one while the token names none, answers 403 token_wrong_end_user before anything is read or changed, and a connection that names none is any token's. An API key, an app-scoped token and a delegated agent token are not limited by it.

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 GET "https://example.com/connections/string/ssl:eligibility"
{  "domain": "string",  "eligible": true,  "reason": "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"}