PUT
/
users
/
{user_id}
.json
curl -X PUT \
-H "Content-Type: application/json" \
-H "QB-Token: 7483d80bb9caddd504764d85b050c85755aecc84" \
-d '{  
  "user":{  
    "login":"Jen_Lesser",
    "email":"jen_lesser@gmail.com",
    "external_user_id":"1433712",
    "facebook_id":"125553",
    "full_name":"Jen Lesser",
    "phone":"+965234215",
    "website":"https://jen.com",
    "tag_list":"android,web",
    "custom_data":"Head of marketing"
  }
}' \
https://api.quickblox.com/users/96831397.json
{
  "user": {
    "id": 96831397,
    "full_name": "Jen Lesser",
    "email": "jen_lesser@gmail.com",
    "login": "Jen_Lesser",
    "phone": "+965234215",
    "website": "https://jen.com",
    "created_at": "2019-08-29T19:15:17Z",
    "updated_at": "2019-09-01T14:03:58Z",
    "last_request_at": "2019-09-01T14:02:54Z",
    "external_user_id": 1433712,
    "facebook_id": "125553",
    "twitter_id": "998800",
    "blob_id": null,
    "custom_data": "Head of marketing",
    "age_over16": true,
    "allow_statistics_analysis": false,
    "allow_sales_activities": false,
    "parents_contacts": "",
    "user_tags": "android,web"
  }
}

Recipes

Path Parameters

user_id
integer
required
ID of the user. Generated automatically by the server after user creation.

Body Parameters

user
object
required

Headers

QB-Token
string
required
A user session token. See our Authentication page to learn more about the session token.
Authorization
string
default:"ApiKey {your_api_key}"
required
API key from Dashboard. Expected format: ApiKey {your_api_key}. Must be used either QB-Token or Authorization.

Responses

curl -X PUT \
-H "Content-Type: application/json" \
-H "QB-Token: 7483d80bb9caddd504764d85b050c85755aecc84" \
-d '{  
  "user":{  
    "login":"Jen_Lesser",
    "email":"jen_lesser@gmail.com",
    "external_user_id":"1433712",
    "facebook_id":"125553",
    "full_name":"Jen Lesser",
    "phone":"+965234215",
    "website":"https://jen.com",
    "tag_list":"android,web",
    "custom_data":"Head of marketing"
  }
}' \
https://api.quickblox.com/users/96831397.json
{
  "user": {
    "id": 96831397,
    "full_name": "Jen Lesser",
    "email": "jen_lesser@gmail.com",
    "login": "Jen_Lesser",
    "phone": "+965234215",
    "website": "https://jen.com",
    "created_at": "2019-08-29T19:15:17Z",
    "updated_at": "2019-09-01T14:03:58Z",
    "last_request_at": "2019-09-01T14:02:54Z",
    "external_user_id": 1433712,
    "facebook_id": "125553",
    "twitter_id": "998800",
    "blob_id": null,
    "custom_data": "Head of marketing",
    "age_over16": true,
    "allow_statistics_analysis": false,
    "allow_sales_activities": false,
    "parents_contacts": "",
    "user_tags": "android,web"
  }
}