Users

PATCH /users/{userId}

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.

Request

  • Base URL
    https://api.cxxx.eagleeyenetworks.com/api/v3.0
  • URL
    https://api.cxxx.eagleeyenetworks.com/api/v3.0/users/{userId}
  • Auth
    HTTP bearer

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

Changes

No recorded changes to this operation across all 1 revision of this API.