Skip to main content
PATCH
/
api
/
sso
/
orgs
/
{orgId}
/
domains
/
{domain}
Update domain settings
curl --request PATCH \
  --url https://api.example.com/api/sso/orgs/{orgId}/domains/{domain} \
  --header 'Content-Type: application/json' \
  --cookie better-auth.session_token= \
  --data '
{
  "allowAutoEnroll": true
}
'

Authorizations

better-auth.session_token
string
cookie
required

Path Parameters

orgId
string
required
domain
string
required

Body

application/json
allowAutoEnroll
boolean
required

Response

200

Default Response