LogoFreestyle
API ReferenceDeprecated

Create an access token for an identity

Create an access token for an identity. **DEPRECATED:** Git identities have been promoted to global Freestyle identities used for provisioning resources scoped to customers. Please use the `/identity/v1/*` API instead.

POST
/git/v1/identity/{identity}/tokens

Path Parameters

identity*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.freestyle.sh/git/v1/identity/497f6eca-6276-4993-bfeb-53cbbbba6f08/tokens"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "token": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.