Skip to main content
DELETE
/
api-key
/
{tokenId}
Revoke an API key
curl --request DELETE \
  --url https://app.myhero.so/api-key/{tokenId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "revoked": true
  }
}

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

tokenId
string
required
Minimum string length: 1

Response

200 response

data
object
required