Back

DELETE /api/mcp

Route source: app/api/mcp/route.ts. Access: Bearer access token issued through OAuth 2.1 authorization code with PKCE S256. Status codes are read from the route implementation.

DELETE/api/mcp

Access

OAuth bearer token

Request

Request body in the handler contract: none.

Synthetic curl example
curl -i -X DELETE 'https://portal.rfi-irfos.com/api/mcp' \
  -H "Authorization: Bearer $RFI_MCP_TOKEN"

Response

The handler returns JSON. Response fields are defined in the linked route source.

200 429 500 503

The linked source file contains the authoritative field validation and response structure.

Error codes

  • 429 · Request limit reached
  • 500 · Internal handler error
  • 503 · Service or database is unavailable

Code evidence

app/api/mcp/route

Local index↑ ↓ · Enter · Esc