Skip to main content
DELETE
/
v1
/
api
/
oauth
/
authorizations
/
{client_id}
Revoke an OAuth authorization
curl --request DELETE \
  --url https://api.hq.zone/v1/api/oauth/authorizations/{client_id} \
  --header 'Authorization: Bearer <token>'
{
  "revoked": true,
  "tokens_revoked": 1
}

Authorizations

Authorization
string
header
required

Personal Access Token. Send as Authorization: Bearer hq_pat_....

Path Parameters

client_id
string
required

OAuth client id to revoke access for

Response

Access revoked

revoked
boolean
required
tokens_revoked
integer<int64>
required

How many live tokens issued by this app to the caller were revoked.

Required range: x >= 0