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/revokeAccess
Public protocol route
Request
JSON body follows validation in route source
The accepted fields and validation are implemented in app/oauth/revoke/route.ts.
Synthetic curl example
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'Response
The handler returns JSON. Response fields are defined in the linked route source.
200 400 503
The linked source file contains the authoritative field validation and response structure.
Error codes
400· Request or input validation failed503· Service or database is unavailable
Code evidence
app/oauth/revoke/route