Custom hostnames
Release the Cloudflare custom hostname, then delete the row; if Cloudflare refuses, the row is kept as delete_failed and the call answers 502 (retry). Honours Idempotency-Key. (scope: sites:write)
DELETE
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
id*stringCustom hostname id
Format
uuidOK
application/json- response
data*error*nullcurl -X DELETE "https://example.com/custom-hostnames/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deleted": true }, "error": null}