Remove organization JIT email domain

DELETE /api/organizations/{id}/jit/email-domains/{emailDomain}

Remove an email domain for just-in-time provisioning of users in the organization.

Path parameters

  • id string Required

    The unique identifier of the organization.

  • emailDomain string Required

    The email domain to remove.

    Minimum length is 1.

Responses

  • The email domain was removed successfully.

  • Bad Request

  • Unauthorized

  • Forbidden

  • The email domain was not found.

DELETE /api/organizations/{id}/jit/email-domains/{emailDomain}
curl \
 -X DELETE https://[tenant_id].logto.app/api/organizations/{id}/jit/email-domains/{emailDomain} \
 -H "Authorization: Bearer $ACCESS_TOKEN"