v1

latestOpenAPI 3.0.02026-07-24990169.2 KB

Modify the role of users in a team within a workspace

Modify the role of users in a team. The users must already be a member of the team, and only team admins, workspace managers, or workspace admins can modify users.

patch/workspaces/{slug}/teams/{teamId}/members

Path parameters

slugstring required

Slug of the workspace the team belongs to.

teamIdstring required

ID of the team to add the user(s) to.

Request body

memberIdsinteger[] required

IDs of the users to modify in the team.

role'manager' | 'member'

Role to assign to the user in the team.

Response

Successful