Update User

PATCH /api/users/:id

Update User

PATCH /api/users/:id

Updates the details and permissions of a user.

Request Body

{
  "firstName": "Jane",
  "lastName": "Smith",
  "role": "admin",
  "isActive": true,
  "customerIds": ["11111111-1111-4111-8111-111111111111", "22222222-2222-4222-8222-222222222222"] // Update the list of assigned customers via public IDs
}

Notes:

  • customerIds accepts customer public IDs and legacy numeric IDs.
  • Public IDs are the preferred format for new integrations.