Commit 4a3f50ce by Torkel Ödegaard

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

parent 4751e4b9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment