---
title: "Release a claimed or verified domain"
method: DELETE
path: "/organizations/{organizationID}/sso/domains/{domain}"
tags: ["Organizations"]
---

# Release a claimed or verified domain

`DELETE /organizations/{organizationID}/sso/domains/{domain}`

## Request

- Base URL: `https://api.xata.tech`
- URL: `https://api.xata.tech/organizations/{organizationID}/sso/domains/{domain}`
- Auth: OAuth 2
  - Implicit: `https://auth.xata.io/realms/xata/protocol/openid-connect/auth`
  - Scopes: `org:write`

Drops a pending claim, or releases a verified domain so members on it sign in however they could before.
Refused with a 409 while the organization has a provider for the domain; remove the provider first. Idempotent.

## Response `204`

Domain released

## Other responses

- `401`: Error returned when authentication or authorization fails
- `403`: Single sign-on is not enabled for the organization, or the caller is not an Admin
- `409`: An identity provider is still connected to the domain
- `5XX`: Unexpected Error

## Changes

- **2026-09-24** `a9044087aadf`: 1 info
  - removed the non-success response with the status `404`
- **2026-09-11** `dea04a8fcb58`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xata/apis/xata-api/changes/organizations/:organizationID/sso/domains/:domain/delete.md)

---

[API](https://skmtc.dev/xata/apis/xata-api.md) - [All operations](https://skmtc.dev/xata/apis/xata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/xata/apis/xata-api/revisions/3145f2078d68?raw)
