Change a member's role
PATCH/v1/projects/:project_id/members/:member_id
Moves a member between admin and member. The project owner only: promoting somebody to admin hands them every write in the project, and an admin who could do that could erase the difference between the two roles for themselves.
The owner's own row is refused in either direction — it names who pays, so changing it is a transfer (PUT /v1/projects/{project_id}/transfer) rather than a role change.
Requires an account-wide credential and is refused to a connected app.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The member's new role.
A role outside admin/member, or the owner's own row.
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).