Skip to content
Skip to Content

Disconnect a Cloudflare zone

DELETE
/dns-zones/{zoneId}

Forgets the zone and its token. Refused while a domain has records OpenPanel wrote there; remove those domains first. Organization admins only.

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

zoneId*string

Response body

Done.

Example request
curl -X DELETE "https://openpanel.sh/api/v1/dns-zones/$ZONE_ID" \  -H "Authorization: Bearer $OPENPANEL_TOKEN"
Example response
Empty