Teams

Change a member's role

Makes a member an admin or a member and returns the team. The owner’s role cannot change here: transfer ownership instead. Needs the owner or admin role.

PATCH
/workspace/members/{id}

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

Account id of a workspace member.

Body

application/json
roleenum<string>required

The member's new role: admin or member.

Available options: admin, member

Response

application/json

Success

membersobject[]required

Everyone in the workspace, the owner included.

invitationsobject[]required

Invitations sent from the workspace, open and expired.