Change the permission of a project member.
Set the permission of one member to view, edit or manage. Managers name further
managers this way; a project may have several, and they share it with equal rights.
A project always keeps a manager. Lowering the permission of the last membership
with manage is refused with 400, even when the caller lowers its own; name another
manager first.
Requires project.manage, which only managers of the project hold.
apiKeyX-API-Key<token>API key issued in the Galilea settings.
projectId*stringThe id of the project, as returned by GET /projects.
uuidmemberId*stringThe id of the membership, as returned by GET /projects/{projectId}/members.
uuidapplication/json- body
Request body for changing the permission of a project member.
permission*stringThe new permission; see ProjectMember.
"view""edit""manage"The member with its new permission.
application/json- response
One member of a project and the permission it holds. A member is a single person, a team group of the tenant, or the group of all users of the tenant; for a group, the permission applies to everybody in it. A person reached on several ways — personally and through one or more groups — holds the highest of these permissions, capped by their role in the tenant.
id*stringIdentifier of the membership, used to change or remove it.
uuidpermission*stringview opens the project and reads its documents, artifacts and memory; edit
additionally adds, renames and deletes documents and changes the memory; manage
additionally changes name, description and color, decides who is a member, and
deletes the project. Each permission contains the ones before it. A project always
has at least one member with manage.
"view""edit""manage"userGroup*The group the membership is granted to. A person is a member through their personal
group, which is why type tells a person from a team.
user?|For a personal membership the person, addressable in GET /users; null for a team group.
createdAt?stringWhen the membership was granted.
date-timecurl -X PATCH "https://example.com/projects/0b7c2f4e-5a61-4d3b-9f0e-6c1d2a3b4c5d/members/4a1d7e20-3c5b-4f8a-9e2d-7b6c5a4d3e2f" \ -H "Content-Type: application/json" \ -d '{ "permission": "manage" }'{ "id": "4a1d7e20-3c5b-4f8a-9e2d-7b6c5a4d3e2f", "permission": "edit", "userGroup": { "id": "7f3b2a10-11ef-4c2e-9a71-2b6d5c8e4419", "type": "team", "name": "Bauplanung" }, "user": null, "createdAt": "2019-08-24T14:15:22Z"}