Add organization JIT email domain
Add a new email domain for just-in-time provisioning of users in the organization.
Path parameters
-
The unique identifier of the organization.
Body Required
-
The email domain to add.
Minimum length is
1
.
POST /api/organizations/{id}/jit/email-domains
curl \
-X POST https://[tenant_id].logto.app/api/organizations/{id}/jit/email-domains \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"emailDomain":"string"}'
Request examples
{
"emailDomain": "string"
}
Response examples (201)
{
"tenantId": "string",
"organizationId": "string",
"emailDomain": "string"
}