LogoFreestyle
API ReferenceIdentity

Revoke git repository permission from an identity

Revoke a permission to an identity on a repository

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

Path Parameters

identity*string

The git identity ID

Formatuuid
repo*string

The git repository ID

Formatuuid

Response Body

application/json

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

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.