Auth API

This endpoint lets you revoke an authorization token. This endpoint only supports authorization for the code grant flow.

post/oauth2/revoke

Request

  • Base URL
    https://id.staging.grubtech.io
  • URL
    https://id.staging.grubtech.io/oauth2/revoke
  • Auth
    HTTP basic

Headers

Authorizationstring required

Basic base64 encoded clientId:clientSecret

Request body application/x-www-form-urlencoded

tokenstring required

The refresh token.

Response

ok

Changes

    • breaking

      the response's property type changed from array to object for status

    • breaking

      the response's property type changed from array to object for status

    • breaking

      the response's property type changed from array to object for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status