---
title: "Remove an SSO connection"
method: DELETE
path: "/api/v1/organizations/{organizationId}/sso-connections/{providerId}"
tags: ["Single sign-on"]
---

# Remove an SSO connection

`DELETE /api/v1/organizations/{organizationId}/sso-connections/{providerId}`

## Request

- Base URL: `https://app.easyscraper.com`
- URL: `https://app.easyscraper.com/api/v1/organizations/{organizationId}/sso-connections/{providerId}`
- Auth: API key in cookie `better-auth.session_token`

Remove a single sign-on connection. Its users can no longer log in through it, and log in with a password, a social login or a passkey instead; they stay members. Requires the `sso: ["manage"]` permission (owners)

## Path parameters

- `organizationId` string, uuid, required
- `providerId` string, required

## Response `200`

OK

- object
  - `success` unknown, required

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `429`: 429

## Changes

- **2026-11-02** `a12cef98c52b`: 1 info
  - added the non-success response with the status `400`
- **2026-10-31** `3e642e95991a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/easyscraper/apis/easy-scraper-api/changes/api/v1/organizations/:organizationId/sso-connections/:providerId/delete.md)

---

[API](https://skmtc.dev/easyscraper/apis/easy-scraper-api.md) - [All operations](https://skmtc.dev/easyscraper/apis/easy-scraper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/easyscraper/apis/easy-scraper-api/revisions/a12cef98c52b?raw)
