v4

latestOpenAPI 3.1.1Apache 2.02026-07-31107278570.4 KB
Connections

Enable SSO connection

Activate an existing connection for the specified organization. When enabled, users can authenticate using this connection. This endpoint changes the connection state from disabled to enabled without modifying other configuration settings

patch/api/v1/organizations/{organization_id}/connections/{id}:enable

Path parameters

organization_idstring required

Unique identifier of the organization associated with the connection

idstring required

Unique identifier for the connection to be toggled

Response

Connection enabled successfully

enabledboolean

Current state of the connection after the operation. True means the connection is now enabled and can be used for authentication.

error_messagestring

Error message if the operation fails

Example response

{
  "enabled": true,
  "error_message": "placeholder"
}