Grant a permission to an identity
Grant a permission to an identity on a repository. **DEPRECATED:** Git identities have been promoted to global Freestyle identities used for provisioning resources scoped to customers. Please use the `/identity/v1/*` API instead.
Path Parameters
The git identity ID
uuidThe git repository ID
uuidRequest Body
application/json
"read" | "write"Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.freestyle.sh/git/v1/identity/497f6eca-6276-4993-bfeb-53cbbbba6f08/permissions/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "permission": "read" }'{}{
"message": "string"
}{
"message": "string"
}{
"message": "string"
}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. **DEPRECATED:** Git identities have been promoted to global Freestyle identities used for provisioning resources scoped to customers. Please use the `/identity/v1/*` API instead.
List access tokens for an identity
List access tokens for an identity. **DEPRECATED:** Git identities have been promoted to global Freestyle identities used for provisioning resources scoped to customers. Please use the `/identity/v1/*` API instead.