OAuth

Revoke all client's tokens

Changed on

Revoke all the tokens for a given oauth client

post/tyk/oauth/revoke_all

Request

  • Base URL
    https://localhost:8080
  • URL
    https://localhost:8080/tyk/oauth/revoke_all
  • Auth
    API key in header X-Tyk-Authorization

Request body application/x-www-form-urlencoded

client_idstring required

id of oauth client

client_secretstring required

OAuth client secret to ensure that its a valid operation

org_idstring

Example request

{
  "client_id": "2a06b398c17f46908de3dffcb71ef87df",
  "client_secret": "MmQwNTI5NGQtYjU0YS00NjMyLWIwZjktNTZjY2M1ZjhjYWY0",
  "org_id": "6492f66e6ebbc56c6a6bf022"
}

Response

tokens revoked

messagestring
statusstring

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/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      request body became required

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for 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