---
title: "Remove a custom domain."
method: DELETE
path: "/v1/domains/{id}"
tags: ["Domains"]
---

# Remove a custom domain.

`DELETE /v1/domains/{id}`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/domains/{id}`
- Auth: HTTP bearer

Detaches a custom domain from the caller's project and deletes its record.

## Path parameters

- `id` string, required

## Response `204`

Domain removed

## Other responses

- `401`: Missing or invalid credentials
- `404`: Domain not found
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
