cURL
curl --request PATCH \ --url https://api.example.com/settings/saml \ --header 'Content-Type: application/json' \ --cookie fastapiusersauth= \ --data ' { "saml_enabled": true, "saml_enforced": false, "saml_idp_metadata_url": "<string>" } '
{}
Whether SAML is enabled.
Whether SAML is enforced. If true, users can only use SAML to authenticate. Requires SAML to be enabled.
Successful Response
Was this page helpful?