Replace organization JIT email domains

PUT /api/organizations/{id}/jit/email-domains

Replace all just-in-time provisioning email domains for the organization with the given data.

Path parameters

  • id string Required

    The unique identifier of the organization.

application/json

Body Required

  • emailDomains array[string] Required

    An array of email domains to replace existing email domains.

Responses

PUT /api/organizations/{id}/jit/email-domains
curl \
 --request PUT https://[tenant_id].logto.app/api/organizations/{id}/jit/email-domains \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"emailDomains":["string"]}'
Request examples
{
  "emailDomains": [
    "string"
  ]
}