OAuth
revoke token
Changed onrevoke a single token
post/tyk/oauth/revoke
Request
- Base URLhttps://localhost:8080
- URLhttps://localhost:8080/tyk/oauth/revoke
- AuthAPI key in header X-Tyk-Authorization
Request body application/x-www-form-urlencoded
Example request
{
"client_id": "2a06b398c17f46908de3dffcb71ef87df",
"org_id": "6492f66e6ebbc56c6a6bf022",
"token": "eyJvcmciOiI1ZTIwOTFjNGQ0YWVmY2U2MGMwNGZiOTIiLCJpZCI6IjIyODQ1NmFjNmJlMjRiMzI5MTIyOTdlODQ5NTc4NjJhIiwiaCI6Im11cm11cjY0In0=",
"token_type_hint": "access_token"
}Response
token revoked
Changes
- breaking
the request property
became required - breaking
the request property
became required - info
added the new optional request property
- info
request body became optional
- info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- breaking
request body became required
- breaking
removed the media type
application/jsonfor the response with the status - warning
removed the request property
- info
the request property
became optional - info
the request property
became optional - info
removed the non-success response with the status
- info
removed the non-success response with the status
- breaking