fix(docs): minor fix to http docs, fixes #3301

This commit is contained in:
Torkel Ödegaard 2015-11-21 10:07:33 +01:00
parent 4751e4b94e
commit 4a3f50cef7

View File

@ -774,6 +774,7 @@ Update Organisation, fields *Adress 1*, *Adress 2*, *City* are not implemented y
HTTP/1.1 200
Content-Type: application/json
[
{
"id": 1,
@ -833,6 +834,7 @@ Update Organisation, fields *Adress 1*, *Adress 2*, *City* are not implemented y
"login":"user",
"theme":"light"
}
**Example Response**:
HTTP/1.1 200
@ -906,16 +908,17 @@ Changes the password for the user
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
{
"password": ""new_password"
"oldPassword": "old_password",
"newPassword": "new_password",
"confirmNew": "confirm_new_password"
}
**Example Response**:
HTTP/1.1 200
Content-Type: application/json
{"message":"User password updated"}
{"message":"User password changed"}
### Switch user context