OAuth

Revoke a token

POST/v1/oauth/revoke

Revoke a connection access token. For a public application, send its client_id in the form body. For a confidential application, authenticate with HTTP Basic using client_id:client_secret. Use the application the token belongs to. The endpoint returns 200 whether or not the token was valid. The connection itself stays; revoke it from the console to delete its saved sign-in.

Authorization

clientBasic
AuthorizationBasic <token>

client_id:client_secret for confidential applications.

In: header

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/oauth/revoke" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'token=string'
Empty