Skip to content

PUT User

Ksenyia edited this page May 18, 2016 · 1 revision

Is available to the user with admin rights only.

Resource URI

users

HTTP PUT

Request Payload

{ 
    _id: "573c1bbb160c5a7c082a90fa",
    first_name: "User",
    last_name: "User",
    username: "user",
    email: "[email protected]",
    salt: "9syklqiEoKTnyMMNep5",
    hashed_pwd: "399d78618eece915f7cef569c6d43bf8f4e13f61",
    password: "399d78618eece915f7cef569c6d43bf8f4e13f61",
    creation_date: "2016-03-28T06:04:50.669Z",  
    role: [
        "user"
    ],
    address: [
        "address"
    ],
    language: [
        "en"
    ]
}

Default Request

curl -X "PUT" http://end-point-uri/users

Request

HTTP Status Code 200

Clone this wiki locally