{"_id":"5a60f652792a330012d72172","category":{"_id":"5a60f64d792a330012d72143","version":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-02-25T20:52:57.796Z","from_sync":false,"order":3,"slug":"user-endpoints","title":"User Endpoints"},"user":"575f003663430e0e008a8704","project":"54ee19c23749bf0d00c76515","parentDoc":null,"version":{"_id":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","__v":2,"createdAt":"2018-01-18T19:32:29.915Z","releaseDate":"2018-01-18T19:32:29.915Z","categories":["5a60f64d792a330012d72141","5a60f64d792a330012d72142","5a60f64d792a330012d72143","5a60f64d792a330012d72144","5a60f64d792a330012d72145","5a60f64d792a330012d72146","5a60f64d792a330012d72147","5a660cc7dc0f1c001c2b5568"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3"},"__v":9,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-14T13:46:26.414Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -H \"Content-Type: application/json\" -H \"Authorization: 00000000-0000-0000-0000-000000000000\" -X PUT -d '{\"password\":\"hunter2\",\"password_confirm\":\"hunter2\"}' https://breezy.hr/public/api/v3/user/password\n","language":"curl"}]},"method":"put","results":{"codes":[{"status":204,"language":"json","code":"","name":""},{"status":400,"language":"json","code":"{\n    \"error\": {\n        \"type\": \"setUserPasswordMissing\",\n        \"message\": \"password is null or empty\"\n    }\n}","name":""},{"status":400,"language":"json","code":"{\n    \"error\": {\n        \"type\": \"setUserPasswordMissingConfim\",\n        \"message\": \"password_confirm is null or empty\"\n    }\n}"},{"status":400,"language":"json","code":"{\n    \"error\": {\n        \"type\": \"setUserPasswordMismatch\",\n        \"message\": \"passwords do not match\"   \n    }\n}"},{"status":500,"language":"json","code":"{\n    \"error\": {\n        \"type\": \"setUserPasswordError\",\n        \"message\": \"there was an unknown error setting password.\"\n    }\n}"}]},"settings":"","auth":"required","params":[{"_id":"54fce3877cb4000d0031731e","ref":"","in":"body","required":false,"desc":"new password","default":"","type":"string","name":"password"},{"_id":"57600b41c0bca70e00afbfe2","ref":"","in":"body","required":false,"desc":"new password confirmation","default":"","type":"string","name":"password_confirm"}],"url":"/v:version/user/password"},"isReference":true,"order":2,"body":"","excerpt":"Change password for authenticated user","slug":"user-password","type":"put","title":"/user/password"}

put/user/password

Change password for authenticated user

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

password:
string
new password
password_confirm:
string
new password confirmation

Examples


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 }}