Update a user

put/users/{id}

Request

  • Base URL
    https://develop.snipeitapp.com/api/v1
  • URL
    https://develop.snipeitapp.com/api/v1/users/{id}
  • Auth
    none required

Path parameters

idstring required

User ID

Request body

first_namestring
last_namestring
usernamestring
passwordstring
emailstring
permissionsstring
activatedboolean
phonestring
jobtitlestring
manager_idinteger
employee_numstring
notesstring
company_idinteger
two_factor_enrolledboolean
two_factor_optinboolean
department_idinteger
location_idinteger
remoteboolean

Whether or not the user is a remote worker (0 or 1)

groupsinteger

ID of the group or groups the user should be associated with. This can be a single ID number, or an array, like [1,2,3]

vipinteger
start_datestring date
end_datestring date

Response

200

object required

Changes