LogoFreestyle
API Reference/Git

List access tokens for a Git identity

List access tokens for a Git identity

GET/git/v1/identity/{identity}/tokens

Path Parameters

identityRequiredstring
Format: "uuid"

Response Body

200

Token list

tokensRequiredarray<object>

401

Unauthorized

messageRequiredstring

403

Forbidden

messageRequiredstring

404

Not found

messageRequiredstring

500

Internal server error

messageRequiredstring
curl -X GET "https://api.freestyle.sh/git/v1/identity/497f6eca-6276-4993-bfeb-53cbbbba6f08/tokens"

Token list

{
  "tokens": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  ]
}