Replace organization JIT email domains

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Logto API references MCP server": {
  "url": "https://openapi.logto.io/mcp"
}
Close
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

  • 204

    The email domains were replaced successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

PUT /api/organizations/{id}/jit/email-domains
curl \
 --request PUT 'https://[tenant_id].logto.app/api/organizations/{id}/jit/email-domains' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"emailDomains":["string"]}'
Request examples
{
  "emailDomains": [
    "string"
  ]
}