Update user

Description

Updates an existing user.

Definition

PATCH https://api.hirefire.io/users/:id

Parameters

id required   string 
The id of the user to update 
user[current_password] required   string 
The user's current password 
user[email] optional   string 
The new email address 
user[password] optional   string 
The new password 

Result Format

200 OK

{
  "user": {
    "id": "b1d994bd-1b57-4088-ab9d-bd2501d9612d",
    "email": "user@example.com",
    "created_at": "2015-01-01T00:00:00.000Z",
    "updated_at": "2015-01-01T00:00:00.000Z"
  }
}