LogoFreestyle
API Reference/Git

Revoke permissions from a Git identity

Revoke a permission to a Git identity on a repository

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

Path Parameters

identityRequiredstring
Format: "uuid"
repoRequiredstring
Format: "uuid"

Response Body

200

Permission revoked successfully

responseRequiredobject

401

Unauthorized

messageRequiredstring

403

Forbidden

messageRequiredstring

404

Not found

messageRequiredstring

500

Internal server error

messageRequiredstring
curl -X DELETE "https://api.freestyle.sh/git/v1/identity/497f6eca-6276-4993-bfeb-53cbbbba6f08/permissions/497f6eca-6276-4993-bfeb-53cbbbba6f08"

Permission revoked successfully

{}