Supported Formats

json

Errors

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

Examples

PATCH /api/users/59c241d5a83dc1219d4f294a/update_email
{
  "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[email]
required

E-mail to be changed

Validations:

  • Must be a String

user[current_password]
optional

User’s current password

Validations:

  • Must be a String