API ReferenceIdentity
Grant a git repository permission to an identity
Grant a permission to an identity on a repository
Path Parameters
identity*string
The git identity ID
Format
uuidrepo*string
The git repository ID
Format
uuidRequest Body
application/json
permission*string
Value in
"read" | "write"Response Body
application/json
curl -X POST "https://api.freestyle.sh/identity/v1/identities/497f6eca-6276-4993-bfeb-53cbbbba6f08/permissions/git/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "permission": "read" }'{}