Skip to content

Revoke a refresh token

The token revocation endpoint is used to revoke, or invalidate, a specific refresh token.

  • API Call:

    • POST {baseURL}/oauth/revoke
  • Headers:

    • Authorization: Basic {base64 encoded key:client\_secret}
  • Parameters

    • token = {Refresh token to be revoked}
    • token\_type\_hint = {refresh\_token}

Example request

curl --location --request POST 'https://stage.id.trimblecloud.com/oauth/revoke' \
--header 'Authorization: Basic {Base64 encoded}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-raw 'token={token}&token_type_hint={hint}'