Set up single sign-on (SAML)
PUT/v1/organizations/:org/sso
The identity provider's SAML metadata, as XML or an https URL to read it from (once; paste it again when its certificate changes); then options. enforce: password sign-in is refused for members of organizations that all enforce it, except owners, who keep their password so a broken identity provider cannot lock everyone out. jit: someone the identity provider vouches for who is not a member yet is added with default_role (viewer, analyst, billing or admin; never owner), within the plan's user limit. The identity provider must sign its responses (or assertions) and send the email as NameID or an email attribute; encrypted assertions and IdP-initiated sign-in are not supported. Needs owner or admin.
Request
Responses
- 200
- 400
The settings
The request is invalid