Users

Update member role

PUT /api/v1/users/{id}

Changes a team member's role and returns the updated member.

Request Body

{ "role": "admin" }

Valid roles are admin, editor, and viewer. The owner's role cannot be changed. Requires the owner or an admin.

Response

{
  "id": 12,
  "name": "Grace Hopper",
  "email": "[email protected]",
  "role": "admin",
  "status": "active",
  "mfa_enabled": false,
  "created_at": "2026-08-13T19:52:00Z",
  "added_at": "2026-08-13T19:53:10Z",
  "last_login_at": "2026-08-14T02:01:44Z"
}