Skip to main content
DELETE
/
v1
/
core
/
oauth
/
apps
/
{clientId}
/
access-token
/
{tokenId}
Revoke an OAuth access token for a given OAuth app.
curl --request DELETE \
  --url https://api.example.com/v1/core/oauth/apps/{clientId}/access-token/{tokenId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "clientSecret": "<string>",
  "userId": "<string>"
}
'
{
  "tokenId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clientId
string
required
tokenId
string
required

Body

application/json
clientSecret
string
required
userId
string
required

Response

200 - application/json

Revoke an OAuth access token for a given OAuth app.

tokenId
string
required