Supported Formats

json

Errors

Code Description
401 Unauthorized
403 Forbidden
404 User not found
422 Unprocessable User

Examples

PATCH /api/users/59c241d6a83dc1219d4f2989/update_password
{
  "user": {}
}
401

Params

Param name Description
id
required

User ID

Validations:

  • Must be a String

user
required

User parameter container

Validations:

  • Must be an Array of nested elements

user[current_password]
required

User’s current password.

Validations:

  • Must be a String

user[password]
required

User’s new password

Validations:

  • Must be a String

user[password_confirmation]
required

The confirmation of new password

Validations:

  • Must be a String