summaryrefslogtreecommitdiff
path: root/core/api-corebank.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-corebank.rst')
-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`: