---
title: "Disable an SSO connection"
method: POST
path: "/v1/sso/connections/{connectionId}/disable"
tags: ["SSO"]
---

# Disable an SSO connection

`POST /v1/sso/connections/{connectionId}/disable`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/sso/connections/{connectionId}/disable`
- Auth: HTTP bearer

Switches one SSO connection by id to disabled while keeping its provider configuration, so it can be tested and enabled again later. The organization's other connections keep signing people in. Answers 404 when there is no such connection; the change is recorded in the organization audit log.

## Path parameters

- `connectionId` string, required

## Response `204`

SSO disabled

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `403`: The caller needs the Manage single sign-on permission and a recent sign-in.
- `404`: The connection does not exist in this organization.

## Changes

- **2026-11-06** `133d32d0939a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/sso/connections/:connectionId/disable/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
