Skip to main content
POST
/
api
/
v1
/
status-pages
/
{id}
/
domains
/
{domainId}
/
primary
Mark a verified custom domain as the page's primary host
curl --request POST \
  --url https://api.devhelm.io/api/v1/status-pages/{id}/domains/{domainId}/primary \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "hostname": "<string>",
    "status": "PENDING_VERIFICATION",
    "verificationMethod": "CNAME",
    "verificationToken": "<string>",
    "verificationCnameTarget": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "primary": true,
    "verifiedAt": "2023-11-07T05:31:56Z",
    "verificationError": "<string>",
    "cfCustomHostnameId": "<string>",
    "cfSslStatus": "<string>",
    "sslActiveAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.devhelm.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

id
string<uuid>
required
domainId
string<uuid>
required

Response

OK

data
object
required