Remove a collaborator
curl --request DELETE \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/collaborators/{collaborator} \
--header 'Authorization: <api-key>'Collaborators and deploy keys
Remove a collaborator
DELETE
/
repos
/
{owner}
/
{repo}
/
collaborators
/
{collaborator}
Remove a collaborator
curl --request DELETE \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/collaborators/{collaborator} \
--header 'Authorization: <api-key>'