Update user's profile information.

Resource url

https://Your project.userecho.com/api/v2/users/[user_id].json

Parameters

Parameter Value Required? Default Options Description
email String no User's email.
name String no User's display name.
language String no en, ru, es, fr, de, nl, is, et, kk, pt-br, uk, cs, da, fi, hu, it, ja, ko, sv, tr, zh-hans, ca, pl, lv, lt, nb, he, ar User's default language. Options are limited by your project selected languages.
verified_email Boolean no true, false Status of user's email (verified or not).
custom_fields no Example: "custom_fields":{"cf_1":"test", "cf_2":5} Save custom fields value

Request example #1

{
  "email":"test@test.com", 
  "name":"Test user"
}

Response example

{
    "status": "success", 
    "data": {
        "rating": 0.0, 
        "is_created": true, 
        "name": "Test user", 
        "name_and_title": "Test user", 
        "title": "", 
        "is_authenticated": true, 
        "avatar_url": "https://secure.gravatar.com/avatar/b642b4217b34b1e8d3bd915fc65c4452?default=https%3A%2F%2Fcdn.userecho.com%2Fcharacters%2F84.png%3F1&s=48", 
        "slug": "test-user", 
        "language": "en", 
        "is_staff": false, 
        "last_activity": "2016-01-06T19:53:55.688Z", 
        "email": "test@test.com", 
        "id": 3, 
        "date_joined": "2016-01-06T19:53:55.664Z"
    }
}