LogoFreestyle
API ReferenceDeprecated

List repository permissions for an identity

List repository permissions for an identity. This will return a list of repositories that the identity has access to. **DEPRECATED:** Git identities have been promoted to global Freestyle identities used for provisioning resources scoped to customers. Please use the `/identity/v1/*` API instead.

GET
/git/v1/identity/{identity}/permissions

Path Parameters

identity*string
Formatuuid

Query Parameters

limit?integer

Maximum number of repositories to return

Formatint64
Range0 <= value
offset?integer

Offset for the list of repositories

Formatint64
Range0 <= value

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.freestyle.sh/git/v1/identity/497f6eca-6276-4993-bfeb-53cbbbba6f08/permissions"
{
  "repositories": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
      "permissions": "read",
      "visibility": "public"
    }
  ]
}
{
  "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.