OrganizationsOrganization settings
Update the SSO policy
PATCH
required: true requires the domain of the caller's own SSO sign-in: members at that domain then open the organization only through its SSO. Refused (403) without an SSO sign-in. required: false lifts the domain of the caller's SSO sign-in, and every domain the caller's address is not at.
Who may call it: An owner or security admin of the organization. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
slug*stringThe organization's slug, as in its URL.
application/json- body
required*booleanOK.
application/json- response
requireSsoDomains*array<string>The email domains whose members must sign in through their company's SSO to reach the organization and its projects; empty for none.
Example Request
curl -X PATCH 'http://localhost:3000/api/organizations/string/security/sso' \ -H 'Content-Type: application/json' \ -d '{ "required": true}'Example Response
{ "requireSsoDomains": [ "string" ]}