/oauth/revokeOAuth 2.0 token revocation endpoint. Returns 200 OK on success (no response body). Supports revocation of access_token and refresh_token. Reference: RFC 7009 (Token Revocation).
Accepts an empty JSON object {}
| Status | Description | Schema |
|---|---|---|
| 200 | Token revoked (no response body) | string |
| 400 | invalid_request: request parameters missing or invalid. Reference: RFC 7009 §2.2. | dto.OAuthErrorResponse |
OAuth standard error response
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
error |
string |
No | invalid_request |
Error code | |
error_description |
string |
No | Missing required parameter |
Error description | |
error_uri |
string |
No | https://docs.example.com/errors |
Error URI | |
state |
string |
No | state-123 |
Status |