# 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. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - OAuth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the organization. ### Body: application/json (object) - **emailDomains** (array[string]) An array of email domains to replace existing email domains. ## Responses ### 204 The email domains were replaced successfully. ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden [Powered by Bump.sh](https://bump.sh)