Admin — SSO
Set SSO enforcement
Enable or disable SSO enforcement for the admin's active organization. When enabled, password login is blocked for all members — they must sign in via the configured identity provider. Requires at least one active SSO provider to enable enforcement.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
enforced*boolean
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "http://localhost:3001/api/v1/admin/sso/enforcement" \ -H "Content-Type: application/json" \ -d '{ "enforced": true }'{
"enforced": true,
"orgId": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}Edit on GitHub
Last updated on