Update user roles

user_update_role(user_id, role, entity_id)

Arguments

user_id

User ID

role

One of "TEAM_MANAGER", "PROJECT_MANAGER" or "WORKSPACE_ADMIN".

entity_id

Depending on role, this is a user ID (for "TEAM_MANAGER"), a project ID (for "PROJECT_MANAGER") or a workspace ID (for "WORKSPACE_ADMIN").