Remove a project member
DELETE/v1/projects/:project_id/members/:member_id
Removes a member, or leaves the project yourself.
Anyone may remove themselves, whatever their role: a colleague who no longer wants access should not have to ask for it, and leaving takes nothing from anybody else. Removing somebody else needs authority — an owner may remove anyone, an admin may remove a member and not another admin.
The owner's own row is refused: a project with no owner is unreachable, and the row names who pays.
Request
Responses
- 204
- 400
- 401
- 403
- 404
The member was removed.
The row is the project owner's.
Missing or invalid credentials.
The credential is scoped to a different project, or the caller's role in the project does not carry this action.
The resource does not exist (existence is not leaked).