Skip to content

Remove a custom domain

DELETE
/status-pages/{id}/domains/{domain_id}
curl --request DELETE \
--url https://api.perstat.io/status-pages/example/domains/example \
--header 'Authorization: Bearer <token>'

Removes a custom domain from the status page and deactivates serving for it. Returns 204 on success; if deactivating a verified domain fails upstream, the call returns 502 and the domain is kept so the call can be retried. Requires project management rights. Accepts API keys with the status-pages:write scope, subject to current role and resource grants.

id
required
string
domain_id
required
string

Request succeeded. The response has no body.

Authentication is missing or invalid.

The authenticated caller does not have permission to perform this operation.

No accessible resource matches the supplied identifier.

An upstream service could not complete the request.