---
title: "Delete an SSO connection"
method: DELETE
path: "/sso-connection/{id}"
tags: ["SSO connections"]
---

# Delete an SSO connection

`DELETE /sso-connection/{id}`

## Request

- Base URL: `https://api.elaichi.ai`
- URL: `https://api.elaichi.ai/sso-connection/{id}`
- Auth: HTTP bearer

Deletes an SSO connection. Irreversible, including the stored secrets. Org domains pointing at it are unlinked, so their users fall back to the other login methods — but users who have no other credential will be locked out until another route is configured. Existing sessions are not revoked. Requires `sso:manage`.

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string

## Response `200`

Success

- Success
  - `success` boolean, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `429`: Rate limited

---

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