> ## Documentation Index
> Fetch the complete documentation index at: https://weights.fyi/run/llms.txt

# DELETE /v1/workspaces/domains/{domain}

```text
DELETE https://weights.fyi/run/v1/workspaces/domains/<domain>
Authorization: Bearer <token>                    scope: manage
```

**Available since:** 2026-11-15 workspace domains: included in this build; see [What is live](/run/docs/what-is-live.md) for deployment status.

**Answer time:** synchronous: one database write.

Removes a claimed or verified email domain from the calling workspace. New sign-ins at that domain can no longer discover or auto-join the workspace through that claim, and another workspace may now verify the domain.

People who already joined the workspace stay members until an owner or admin removes them in [Team & workspace](/run/app/team).

## Request

| Name | Where | Required | Meaning |
|---|---|---|---|
| `Authorization` | header | yes | `Bearer` and a token with `manage` on the workspace. |
| `domain` | path | yes | The claimed email domain, such as `awow.io`. |

## Return value

**200 OK**:

| Field | Meaning |
|---|---|
| `deleted` | `true`. |
| `domain` | The normalised domain that was removed. |

## Errors

| Status | Code | When it happens | What to do |
|---|---|---|---|
| `401` | `unauthorized`, `invalid_token`, `token_revoked`, `token_expired` | No token, or one that does not work. | Use a valid token. |
| `403` | `scope_required`, `workspace_role_required` | Token lacks `manage`, or caller is neither owner nor admin. | Use an owner or admin `manage` token. |
| `404` | `domain_not_found` | This workspace has not claimed that domain. | Check `workspace.domains` in [GET /v1/workspaces](/run/docs/reference/workspaces-get.md). |

## Examples

```sh
curl -s -X DELETE https://weights.fyi/run/v1/workspaces/domains/DOMAIN \
  -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

```json
{"deleted": true, "domain": "awow.io"}
```

## History

- 2026-11-15 workspace domains: added.

## See also

- [POST /v1/workspaces/domains](/run/docs/reference/workspaces-domains-create.md) to claim a domain.
- [Teams and workspaces](/run/docs/teams.md#verify-your-domain), the topic.
