summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-10-02 12:48:22 +0200
committerMS <ms@taler.net>2023-10-02 12:48:45 +0200
commit718fb95f8aeafe18f3559d95e1572dc4f61e43a1 (patch)
treef0e17bed87ab340ae8480a5eafeda8b059ab73e4
parentf8b6782cd49169fffa35e4dc3062c900e1f60531 (diff)
downloaddocs-718fb95f8aeafe18f3559d95e1572dc4f61e43a1.tar.gz
docs-718fb95f8aeafe18f3559d95e1572dc4f61e43a1.tar.bz2
docs-718fb95f8aeafe18f3559d95e1572dc4f61e43a1.zip
corebank: note on account deletion rights.
-rw-r--r--core/api-corebank.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/api-corebank.rst b/core/api-corebank.rst
index 937b3664..dc4498ce 100644
--- a/core/api-corebank.rst
+++ b/core/api-corebank.rst
@@ -184,15 +184,17 @@ Account Management
.. http:delete:: /accounts/$USERNAME
Delete the account whose username is ``$USERNAME``. The deletion
- succeeds only if the balance is *zero*.
+ succeeds only if the balance is *zero*. Typically only available to
+ the administrator, but can be configured to allow ordinary users too.
**Response:**
:http:statuscode:`204 No content`:
The account was successfully deleted.
:http:statuscode:`403 Forbidden`:
- The request specified a reserved internal username, like
- ``admin`` or ``bank``.
+ Either the request specified a reserved internal username, like
+ ``admin`` or ``bank``, or the client didn't have the rights to this
+ call.
:http:statuscode:`404 Not found`:
The username was not found.
:http:statuscode:`412 Precondition failed`: