v1

latestOpenAPI 3.0.32026-07-24214879985.1 KB
Users

Updates a specific user's data. Note that not all fields may be editable in all contexts. To determine which fields are editable, request the schema using the include parameter.
If the user's permissions are managed via the Roles API, the schema.permissions fields will be marked as readOnly. In such cases, effectivePermissions.roleAssignments will be true, indicating that role-based assignment is in effect.

patch/users/{userId}

Request body

firstNamestring
lastNamestring
emailstring email

This email is used for login.

locationIdstring nullable

ID Of the location.

status'active' | 'blocked'

User can be enabled if set to "active" and disabled if set to "blocked"

employeeIdstring nullable

Custom text field

Example request

{
  "locationId": "2428fda3-389f-48ce-b062-85875dd6b2e2"
}

Response

User Updated