LogoFreestyle
API ReferenceIdentity

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.

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

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

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

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.