Skip to content
Skip to Content

Remove a domain's uploaded certificate

DELETE
/domains/{domainId}/certificate

The edge goes back to its own certificate for the domain at once.

This loses data or replaces what runs; MCP asks for confirmation first.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (opk_…) or a CLI token (opc_…).

Path parameters

domainId*string

Response body

Done.

Example request
curl -X DELETE "https://openpanel.sh/api/v1/domains/$DOMAIN_ID/certificate" \  -H "Authorization: Bearer $OPENPANEL_TOKEN"
Example response
Empty