---
title: "Remove an identity provider"
method: DELETE
path: "/organizations/{organizationID}/sso/providers/{providerAlias}"
tags: ["Organizations"]
---

# Remove an identity provider

`DELETE /organizations/{organizationID}/sso/providers/{providerAlias}`

## Request

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

Deletes the provider, so members on its domain fall back to the sign-in methods they had before. The domain
stays verified and can be given another provider. Idempotent.

## Response `204`

Identity provider removed

## 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
- `5XX`: Unexpected Error

## Changes

- **2026-09-11** `dea04a8fcb58`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xata/apis/xata-api/changes/organizations/:organizationID/sso/providers/:providerAlias/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)
