Skip to main content
POST
/
v1
/
sso
/
enforce
Set SSO Enforcement
curl --request POST \
  --url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/v1/sso/enforce \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enforce": true
}
'
{
  "enforce": true,
  "developerId": "<string>"
}

Authorizations

Authorization
string
header
required

Developer API key

Body

application/json
enforce
boolean
required

Whether to enforce SSO for all users

Response

SSO enforcement updated

enforce
boolean
developerId
string