---
title: "Delete a domain"
method: DELETE
path: "/domains/{id}"
tags: ["Domains"]
---

# Delete a domain

`DELETE /domains/{id}`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/domains/{id}`
- Auth: API key in header `Authorization`

Disconnects a custom domain: removes its hostname and edge routing record, then deletes the row.

## Path parameters

- `id` string, required

## Response `200`

Domain deleted

- DeleteResponse
  - `id` string, required
  - `object` string, required
  - `deleted` true, required

## Other responses

- `401`: Authentication required
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
