diff options
author | MS <ms@taler.net> | 2023-10-02 12:48:22 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2023-10-02 12:48:45 +0200 |
commit | 718fb95f8aeafe18f3559d95e1572dc4f61e43a1 (patch) | |
tree | f0e17bed87ab340ae8480a5eafeda8b059ab73e4 | |
parent | f8b6782cd49169fffa35e4dc3062c900e1f60531 (diff) | |
download | docs-718fb95f8aeafe18f3559d95e1572dc4f61e43a1.tar.gz docs-718fb95f8aeafe18f3559d95e1572dc4f61e43a1.tar.bz2 docs-718fb95f8aeafe18f3559d95e1572dc4f61e43a1.zip |
corebank: note on account deletion rights.
-rw-r--r-- | core/api-corebank.rst | 8 |
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`: |