---
title: "Delete Domain"
method: DELETE
path: "/api/settings/domains/{domain_id}"
tags: ["settings"]
---

# Delete Domain

`DELETE /api/settings/domains/{domain_id}`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/settings/domains/{domain_id}`
- Auth: HTTP bearer

Remove a domain — blocked while an enabled SSO config references it.

## Path parameters

- `domain_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api.md) · [All operations](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/revisions/c8ad03e900ea?raw)
