{"__v":3,"_id":"569520590c650a2300250553","category":{"__v":10,"_id":"5692b19ffe72e00d00e4f0a8","pages":["5692b1ec72d4580d0081e96b","5692b39b72d4580d0081e96f","56951b250c650a2300250544","569520590c650a2300250553","56952277caa32519009c410a","569523782e5eb41700901a7e","56992a43de42370d00727c7c","56b8acb443bbd10d0081d148","56ec413636bc8e0e00f190e3","56ec46068fac371700005d12"],"project":"563cc7119799fb0d00047685","version":"563cc7119799fb0d00047688","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-01-10T19:31:43.021Z","from_sync":false,"order":11,"slug":"fix-api","title":"Users"},"editedParams":true,"editedParams2":true,"parentDoc":null,"project":"563cc7119799fb0d00047685","user":"563cc6fa8894d20d00014ea3","version":{"__v":16,"_id":"563cc7119799fb0d00047688","project":"563cc7119799fb0d00047685","createdAt":"2015-11-06T15:28:17.683Z","releaseDate":"2015-11-06T15:28:17.683Z","categories":["563cc7129799fb0d00047689","566f37f37ffa002300c3cd5b","56914e9bd47b020d002225ac","5692b19ffe72e00d00e4f0a8","56940bc2d8c04d1700e5adb6","56940bc83e9d080d00f064f0","56951b2dfcb1032d0089df7a","569522aecaa32519009c410c","569523ce562335190016da97","569523fddcaf0d1700cb86bf","56980e4a8560a60d00e2c3c3","569921a41693520d002e1305","5699323b7465970d00650b82","569e6cc4fbee990d0072d927","56a2768a0aefae0d00b7fe66","5862e862b8b7fa23009665b7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Model T","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-12T15:48:41.757Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"http","code":"PUT /v1/users/02e57c7d-d071-4c63-b491-1194a9939ea5 HTTP/1.1\nHost: api.drivewealth.io\nAccept: application/json\nContent-Type: application/json\nx-mysolomeo-session-key: 02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z\n{\n    \"emailAddress1\": \"bob:::at:::belchers.com\"\n}"},{"language":"curl","code":"curl -X PUT -H \"Accept: application/json\" -H \"Content-Type: application/json\" -H \"x-mysolomeo-session-key: 02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z\" -d '{\n    \"emailAddress1\": \"bob@burgers.com\"\n}' 'https://api.drivewealth.io/v1/users/02e57c7d-d071-4c63-b491-1194a9939ea5'"}]},"results":{"codes":[{"name":"","code":"","language":"json","status":200},{"name":"","code":"{\n  \"code\": 403,\n  \"message\": \"User not match [userID=02e57c7d-d071-4c63-b491-1194a9939ea52]\"\n}","language":"json","status":403}]},"settings":"","auth":"required","params":[{"_id":"569520590c650a2300250554","ref":"","in":"path","required":true,"desc":"User ID.","default":"02e57c7d-d071-4c63-b491-1194a9939ea5","type":"string","name":"userID"},{"_id":"56990d7503721e0d0043a3b8","ref":"","in":"body","required":false,"desc":"Address line 1.","default":"123 Main St.","type":"string","name":"addressLine1"},{"_id":"56990d7503721e0d0043a3b7","ref":"","in":"body","required":false,"desc":"Address line 2.","default":"Apt. #2","type":"string","name":"addressLine2"},{"_id":"56990d7503721e0d0043a3b6","ref":"","in":"body","required":false,"desc":"City.","default":"Wicker","type":"string","name":"city"},{"_id":"56990d7503721e0d0043a3b5","ref":"","in":"body","required":false,"desc":"3 Character Country Code.<br />Follows the [ISO 3166-1 format](https://en.wikipedia.org/wiki/ISO_3166-1).","default":"USA","type":"string","name":"countryID"},{"_id":"56990d7503721e0d0043a3b4","ref":"","in":"body","required":true,"desc":"Email address.","default":"bob@belchers.com","type":"string","name":"emailAddress1"},{"_id":"56990d7503721e0d0043a3b3","ref":"","in":"body","required":false,"desc":"First name.","default":"Bob","type":"string","name":"firstName"},{"_id":"56990d7503721e0d0043a3b2","ref":"","in":"body","required":false,"desc":"Last name.","default":"Belcher","type":"string","name":"lastName"},{"_id":"56990d7503721e0d0043a3b1","ref":"","in":"body","required":false,"desc":"Language.<br />**Options**: `\"en_US\"` (Default), `\"zh_CN\"`, `\"es_ES\"`, `\"pt_BR\"` or `\"ja_JP\"`.","default":"en_US","type":"string","name":"languageID"},{"_id":"56990d7503721e0d0043a3b0","ref":"","in":"body","required":false,"desc":"Home phone.","default":"212-555-3125","type":"string","name":"phoneHome"},{"_id":"56990d7503721e0d0043a3af","ref":"","in":"body","required":false,"desc":"Work phone.","default":"212-333-4123","type":"string","name":"phoneWork"},{"_id":"56990d7503721e0d0043a3ae","ref":"","in":"body","required":false,"desc":"Mobile phone.","default":"212-111-3312","type":"string","name":"phoneMobile"},{"_id":"56990d7503721e0d0043a3ad","ref":"","in":"body","required":false,"desc":"State / province.","default":"New Jersey","type":"string","name":"stateProvince"},{"_id":"56990d7503721e0d0043a3ac","ref":"","in":"body","required":false,"desc":"Zip / postal code.","default":"08312","type":"string","name":"zipPostalCode"}],"url":"/users/:userID"},"isReference":true,"order":5,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Response\"\n}\n[/block]\nThe response should be a HTTP status code `200`.","excerpt":"Edit existing user profile.","slug":"update-user","type":"put","title":"Update User"}

putUpdate User

Edit existing user profile.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

userID:
required
string02e57c7d-d071-4c63-b491-1194a9939ea5
User ID.

Body Params

addressLine1:
string123 Main St.
Address line 1.
addressLine2:
stringApt. #2
Address line 2.
city:
stringWicker
City.
countryID:
stringUSA
3 Character Country Code.<br />Follows the [ISO 3166-1 format](https://en.wikipedia.org/wiki/ISO_3166-1).
emailAddress1:
required
stringbob@belchers.com
Email address.
firstName:
stringBob
First name.
lastName:
stringBelcher
Last name.
languageID:
stringen_US
Language.<br />**Options**: `"en_US"` (Default), `"zh_CN"`, `"es_ES"`, `"pt_BR"` or `"ja_JP"`.
phoneHome:
string212-555-3125
Home phone.
phoneWork:
string212-333-4123
Work phone.
phoneMobile:
string212-111-3312
Mobile phone.
stateProvince:
stringNew Jersey
State / province.
zipPostalCode:
string08312
Zip / postal code.

Examples


Documentation

[block:api-header] { "type": "basic", "title": "Response" } [/block] The response should be a HTTP status code `200`.

User Information

Try It Out

put
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}