Skip to content

Remove myself from project API

ZD: https://gitlab.zendesk.com/agent/tickets/13902
GitLab: 8.3.2

Description

Currently we don't have a way of removing our user from a project we don't have at least a master role using the API.

Context

A customer is using GitLab for educational purposes and every student includes him in the x amount of projects they create racking up hundreds of projects. Currently the only way of leaving the project is by going into each one and pressing the link which in this case is not efficient.

Next Steps

  • Propose extension for the DELETE /projects/:id/members/:user_idmethod to behave as the leave project link as an endpoint.

Reference

http://doc.gitlab.com/ce/api/projects.html#remove-project-team-member


@JobV I think this would be a useful endpoint on our API.