LogoFreestyle
API Reference/Git

Create a Git identity

Create a Git identity. This identity will be used to authenticate with the Git server.

POST/git/v1/identity

Response Body

200

Identity created successfully

idRequiredstring
Format: "uuid"
managedRequiredboolean

500

Internal server error

messageRequiredstring
curl -X POST "https://api.freestyle.sh/git/v1/identity"

Identity created successfully

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "managed": true
}