LogoFreestyle
API Reference/Git

Get the permission of an identity on a repository

Get the permission of an identity on a repository. This will return the access level of the identity on the repository.

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

Path Parameters

identityRequiredstring
repoRequiredstring
curl -X GET "https://api.freestyle.sh/git/v1/identity/<string>/permissions/<string>"

Permission info

{
  "identity": "string",
  "repo": "string",
  "accessLevel": {}
}