Remove custom 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://bump.sh/logto/doc/logto-management-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Logto Management API MCP server": {
    "url": "https://bump.sh/logto/doc/logto-management-api/mcp"
  }
}

Close
DELETE /api/applications/{id}/protected-app-metadata/custom-domains/{domain}

Remove custom domain from the specified application.

Path parameters

  • id string Required

    The unique identifier of the application.

  • domain string Required

Responses

  • 204

    The domain has been removed.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Can not find the domain.

  • 501

    Not Implemented

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