summaryrefslogtreecommitdiff
path: root/libeufin
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-01-26 16:01:20 +0100
committerMS <ms@taler.net>2021-01-26 16:01:20 +0100
commitd71d21ec10f9bf32d6958468a6512f55e4db0d5b (patch)
tree8de16959eea371f06a242141835cc282edab5a0b /libeufin
parentb35bb74a826d74018f9d5b3ac4856a1abe57c966 (diff)
downloaddocs-d71d21ec10f9bf32d6958468a6512f55e4db0d5b.tar.gz
docs-d71d21ec10f9bf32d6958468a6512f55e4db0d5b.tar.bz2
docs-d71d21ec10f9bf32d6958468a6512f55e4db0d5b.zip
nexus: password change API
Diffstat (limited to 'libeufin')
-rw-r--r--libeufin/api-nexus.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst
index ef1a3c00..437f51cd 100644
--- a/libeufin/api-nexus.rst
+++ b/libeufin/api-nexus.rst
@@ -72,6 +72,19 @@ User Management
password: string;
}
+.. http:post:: {nexusBase}/users/password
+
+ Change password of a user. The username is extracted from
+ the HTTP authentication parameters.
+
+ **Request:**
+
+ ..code-block:: ts
+
+ interface UserChangePassword {
+ newPassword: string;
+ }
+
.. http:post:: {nexusBase}/users
Create a new user. Only a superuser can call this API.