Reference
Set SSO policy
Sets which email domains must sign in through single sign-on. Needs the admin token: the console checks each domain is verified first.
PUT
bearerheader
AuthorizationBearer <token>org*stringapplication/json- body
required_domains*array<>People with an email at these domains must sign in through the organization's single sign-on. Console tokens of theirs that did not come from it are refused.
Items
items <= 100The new policy.
application/json- response
required_domains*array<>People with an email at these domains must sign in through the organization's single sign-on. Console tokens of theirs that did not come from it are refused.
Items
items <= 100curl -X PUT 'https://example.com/v1/orgs/string/sso' \ -H 'Content-Type: application/json' \ -d '{ "required_domains": [ "string" ]}'Example Response
{ "required_domains": [ "string" ]}