---
title: "Delete an SSO domain"
method: DELETE
path: "/organizations/{organization}/sso/domains/{id}"
tags: ["Organization SSO domains"]
---

# Delete an SSO domain

`DELETE /organizations/{organization}/sso/domains/{id}`

Delete a verified or pending SSO domain
### Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

**Service Token Accesses**
 `manage_sso`

**OAuth Scopes**

 | Resource | Scopes |
| :------- | :---------- |
| Organization | `manage_sso` |

## Path parameters

- `organization` string, required
- `id` string, required

## Response `204`

The domain was deleted

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-08-28** `6d28c038c4fd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/planetscale/apis/planetscale-api/changes/organizations/:organization/sso/domains/:id/delete.md)

---

[API](https://skmtc.dev/planetscale/apis/planetscale-api.md) · [All operations](https://skmtc.dev/planetscale/apis/planetscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/planetscale/planetscale-api/revisions/6d28c038c4fd/schema)
