Skip to main content
DELETE
Delete the tenant's SAML SSO connection (owner/admin only)
Removes the tenant’s SAML SSO connection entirely. The public metadata, login and ACS endpoints return 404 for the tenant from this point on, and a subsequent GET /v1/sso/connection returns 404 until a new connection is created with PUT /v1/sso/connection. Existing dashboard sessions opened through SSO are not revoked by this call; users can still sign in with their password afterwards. To pause SSO without discarding the IdP configuration, update the connection with enabled: false instead. Only owners and admins can call this endpoint from a dashboard session; members receive 403. API-key callers act with full tenant access.

Example Request

Response

Errors

Errors use the standard envelope — see Errors.

Authorizations

recurso_session
string
cookie
required

Dashboard user session cookie (httpOnly) issued by POST /auth/register and POST /auth/login. v1 endpoints accept EITHER this cookie or the tenant API key (bearerAuth).

Response

Connection removed. Action-shape {status} object, not wrapped in data.

status
enum<string>
Available options:
removed