---
title: "Remove a custom domain from the workspace"
method: DELETE
path: "/account/domains/{domainId}"
---

# Remove a custom domain from the workspace

`DELETE /account/domains/{domainId}`

## Request

- Base URL: `https://api.eurobase.dev`
- URL: `https://api.eurobase.dev/account/domains/{domainId}`
- Auth: none declared

## Path parameters

- `domainId` string, required

## Response `200`

Domain removed; it stops serving immediately

- object
  - `ok` boolean, required

## Other responses

- `403`: Only the workspace owner can manage its domains (workspace-domain-owner-required)
- `404`: Domain not found (project-domain-not-found)

---

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