Skip to main content
PATCH
Require or stop requiring SSO

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Body

application/json
ssoRequired
boolean
required

Response

The state

ssoRequired
boolean
hasActiveConnection
boolean
hasVerifiedDomain
boolean
canRequire
boolean

Both preconditions hold, so enforcement may be switched on.

exemptMemberCount
integer

Break-glass members. Keep it above zero.