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

# Delete a domain

`DELETE /clusters/{cluster_id}/domains/{domain_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/clusters/{cluster_id}/domains/{domain_id}`
- Auth: API key in header `API-Key`

Removes a custom domain and all its associated routes from the cluster.

Required scope: `domains:write`

## Path parameters

- `cluster_id` string, uuid, required
- `domain_id` string, uuid, required

## Headers

- `API-Version` '2026-06-01.beta', required

## Response `204`

There is no content to send for this request, but the headers may be useful.

## Other responses

- `401`: Access is unauthorized.
- `403`: Access is forbidden.
- `404`: The server cannot find the requested resource.
- `429`: Client error
- `500`: Server error
- `501`: Server error

---

[API](https://skmtc.dev/skycloak/apis/skycloak-public-api.md) · [All operations](https://skmtc.dev/skycloak/apis/skycloak-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skycloak/apis/skycloak-public-api/revisions/33a69e2ce35f?raw)
