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 \
--request POST https://[tenant_id].logto.app/api/organizations/{id}/jit/email-domains \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"emailDomain":"string"}'
Request examples
{
"emailDomain": "string"
}
Response examples (201)
{
"tenantId": "string",
"organizationId": "string",
"emailDomain": "string"
}