Revoke refresh token

​

Invalidates the given refresh token (and, when the user authenticates via OAuth, also revokes it with the OAuth provider) so it can no longer be used to obtain new access tokens. Use this on logout from a JWT based client to explicitly end the session. Permissions: All users.

Headers

  • The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.

Body·

required

The refresh token to revoke.

Responses

  • OK

Request Example for post/v2/Account/revoke-token
curl /v2/Account/revoke-token \
  --request POST \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "RefreshToken": ""
}'
No Body