Delete domain

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
DELETE /api/domains/{id}

Delete domain by ID.

Path parameters

  • id string Required

    The unique identifier of the domain.

Responses

  • 204

    The domain was deleted successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    The domain with the specified ID was not found.

DELETE /api/domains/{id}
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/domains/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"