summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.