LogoFreestyle
API Reference/Git

Revoke an access token for a Git identity

Revoke an access token for a Git identity

DELETE/git/v1/identity/{identity}/tokens

Request Body

application/jsonRequired
tokenIdRequiredstring

Path Parameters

identityRequiredstring
curl -X DELETE "https://api.freestyle.sh/git/v1/identity/<string>/tokens" \
  -H "Content-Type: application/json" \
  -d '{
    "tokenId": "string"
  }'

Token revoked

{}