Skip to main content
PUT
Update Team Member Role

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the team member whose roles to update.

Body

application/json
member_id
integer

User ID of the team member whose role should be changed.

Example:

101

role_id
integer

ID of the new role to assign to the member.

Example:

7

Response

{"success": true, "msg": "User role updated successfully", "new_role_permissions": }

success
boolean

Always true on success

msg
string

Human-readable confirmation message

new_role_permissions
object

Permissions object for the newly assigned role