Skip to main content
POST
/
v1
/
oauth
/
revoke
Revoke token
curl --request POST \
  --url https://api.hyperline.co/v1/oauth/revoke \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>",
  "token": "<string>"
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
client_id
string
required

Application's client ID.

client_secret
string
required

Application's client secret.

token
string
required

The refresh token to revoke.

Response

204

Token revoked