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 \
 -X PUT https://[tenant_id].logto.app/api/organizations/{id}/jit/email-domains \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"emailDomains":["string"]}'
Request examples
{
  "emailDomains": [
    "string"
  ]
}