---
title: "Teardown Custom Domain"
method: DELETE
path: "/api/v1/content/properties/{property_id}/custom-domain/deploy"
tags: ["Content Management"]
---

# Teardown Custom Domain

`DELETE /api/v1/content/properties/{property_id}/custom-domain/deploy`

Remove the Worker and its routes from the hotel's zone.

Ships alongside deploy rather than later: we are not leaving a Worker on a
customer's production zone with no way to remove it from our own UI.

## Path parameters

- `property_id` string, uuid, required

## Response `200`

Successful Response

- CustomDomainResponse
  - `custom_hostname` string, nullable, required
  - `custom_path_prefix` string, nullable, required
  - `cname_target` string, nullable, required
  - `ssl_status` string, nullable
  - `cloudflare_configured` boolean

## Other responses

- `409` — Cloudflare not connected
- `422` — Validation Error
- `502` — Cloudflare teardown failed

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/fbb95eac3965/schema)
