Hanzo
OpenapiCloudflare

Detaches a custom domain from a Cloudflare Pages project.

Detaches a custom domain from a Cloudflare Pages project.

DELETE /v1/cloudflare/pages/projects/{project}/domains/{domain}

Addresshttps://api.hanzo.ai/v1/cloudflare/pages/projects/{project}/domains/{domain}
MethodDELETE
Operationdelete_cloudflare_pages_projects_by_project_domains_by_domain
AuthAuthorization: Bearer $HANZO_API_KEY

Detaches a custom domain from a Cloudflare Pages project. Requires org admin.

Request

2 fields.

FieldInTypeRequiredDescription
projectpathstringyesProject is the Pages project name.
domainpathstringyesDomain is the attached custom domain to detach.

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo cloudflare pages projects domains rm <project> <domain>

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page