Zurück

POST /oauth/revoke

Route source: app/oauth/revoke/route.ts. Access: Public OAuth protocol endpoint; client and PKCE values are validated. Status codes are read from the route implementation.

POST/oauth/revoke

Zugang

Public protocol route

Anfrage

JSON-Body gemäß Validierung im Route-Code

The accepted fields and validation are implemented in app/oauth/revoke/route.ts.

Synthetisches curl-Beispiel
curl -i -X POST 'https://portal.rfi-irfos.com/oauth/revoke' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'token=$RFI_MCP_TOKEN' \
  --data-urlencode 'client_id=$CLIENT_ID'

Antwort

Der Handler liefert JSON. Die Antwortfelder sind im verlinkten Routencode definiert.

200 400 503

Die referenzierte Quelldatei enthält die maßgebliche Feldvalidierung und Antwortstruktur.

Fehlercodes

  • 400 · Anfrage oder Eingabevalidierung fehlgeschlagen
  • 503 · Dienst oder Datenbank ist nicht verfügbar

Beleg im Code

app/oauth/revoke/route

Lokaler Index↑ ↓ · Enter · Esc