Delete API resource

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/resources/{id}

Delete an API resource by ID.

Path parameters

  • id string Required

    The unique identifier of the resource.

Responses

  • 204

    The resource was deleted successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

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