OAuth
RevokeToken
Revokes an access token generated with the OAuth flow.
If an account has more than one OAuth access token for your application, this endpoint revokes all of them, regardless of which token you specify. When an OAuth access token is revoked, all of the active subscriptions associated with that OAuth token are canceled immediately.
Important: The Authorization header for this endpoint must have the following format:
Authorization: Client APPLICATION_SECRET
Replace APPLICATION_SECRET with the application secret on the OAuth page in the developer dashboard.
post/oauth2/revoke
Request body
Example request
{
"request_body": {
"access_token": "ACCESS_TOKEN",
"client_id": "CLIENT_ID"
}
}Response
Success
Example response
{
"success": true
}