---
title: "Delete Help Site Domain"
method: DELETE
path: "/api/v1/help-site/domain"
tags: ["authed"]
---

# Delete Help Site Domain

`DELETE /api/v1/help-site/domain`

## Request

- Base URL: `https://api.teaflask.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.teaflask.com/api/v1/help-site/domain`
- Auth: none declared

Removal is immediate for resolution (the columns clear now) and
eventual for the edge (the teardown workflow disables and deletes the
distribution, certificate last). Idempotent: no domain, nothing done.
The teardown starts BEFORE the columns clear — started-but-uncleaned
heals on a retry, cleared-but-unstarted would orphan the edge with the
customer's CNAME still pointing at it.

## Response `200`

Successful Response

- HelpSiteDomainStatusResponse: The domain rows' whole working set. hostname None is the empty state (no custom domain), never a 404. The two CNAME records the customer owes: the ACM validation record (which must STAY in place for certificate renewals) and hostname → cname_target.
  - `hostname` string, nullable, required
  - `status` 'pending_dns' | 'validating' | 'issuing' | 'active' | 'failed', required: A claimed docs hostname's walk to serving: the customer still owes the DNS records (pending_dns), ACM saw the validation record and is verifying (validating), the certificate issued and the CloudFront distribution is deploying (issuing), the edge answers (active), or provisioning gave up (failed). Terminal states are active and failed; everything else converges under the provisioning workflow.
  - `validation_record_name` string, nullable, required
  - `validation_record_value` string, nullable, required
  - `cname_target` string, nullable, required
  - `verified_at` string, date-time, nullable, required
  - `last_checked_at` string, date-time, nullable, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `422`: Validation error
- `500`: Internal server error

## Changes

- **2026-11-03** `c6ac9fd6657f`: 6 info
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `401`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `403`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `404`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `405`
  - …2 more

[Operation history](https://skmtc.dev/teaflask/apis/teaflask-api/changes/api/v1/help-site/domain/delete.md)

---

[API](https://skmtc.dev/teaflask/apis/teaflask-api.md) - [All operations](https://skmtc.dev/teaflask/apis/teaflask-api/llms.txt) - [OpenAPI document](https://skmtc.dev/teaflask/apis/teaflask-api/revisions/c6ac9fd6657f?raw)
