/v1/oauth/revoke
POST {{baseUrl}}/v1/oauth/revoke
Revoke an access token or a refresh token.
If you revoke a refresh token, be aware that:
- The refresh token's lineage is also revoked. This means that access tokens created from that refresh token are also revoked.
- The user's consent for your integration is also revoked. This means that the user must go through the OAuth process again to use your integration.
Requests to this endpoint require authentication with your client ID and client secret, using one of the following methods:
- Basic access authentication (Recommended): For basic access authentication, the
{credentials}
string must be a Base64 encoded value of{client id}:{client secret}
. - Body parameters: Provide your integration's credentials using the
client_id
andclient_secret
body parameters.
Request Body
[{"name"=>"token", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |