---
title: "Remove a custom domain from a status page; it answers 404 immediately"
method: DELETE
path: "/status-pages/{status_page_id}/domains/{domain_id}"
tags: ["Status Page"]
---

# Remove a custom domain from a status page; it answers 404 immediately

`DELETE /status-pages/{status_page_id}/domains/{domain_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/status-pages/{status_page_id}/domains/{domain_id}`
- Auth: HTTP bearer

## Path parameters

- `status_page_id` integer, required
- `domain_id` integer, required

## Response `204`

Domain removed; its certificate is deleted

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Status page or domain not found

## Changes

- **2026-10-12** `a76c9be89da5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/status-pages/:status_page_id/domains/:domain_id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
