delete-private-accounts-H_WIRE.rst (751B)
1 .. http:delete:: [/instances/$INSTANCE]/private/accounts/$H_WIRE 2 3 **Required permission:** ``accounts-write`` 4 5 **Response:** 6 7 :http:statuscode:`204 No content`: 8 The backend has successfully deactivated the account. 9 :http:statuscode:`400 Bad Request`: 10 The ``$H_WIRE`` parameter is malformed. 11 Returned with ``TALER_EC_GENERIC_PARAMETER_MALFORMED``. 12 :http:statuscode:`401 Unauthorized`: 13 The request is unauthorized. 14 :http:statuscode:`404 Not found`: 15 The backend does not know the instance or the account. 16 Returned with ``TALER_EC_MERCHANT_GENERIC_ACCOUNT_UNKNOWN``. 17 :http:statuscode:`500 Internal Server Error`: 18 The server experienced an internal failure. 19 Returned with ``TALER_EC_GENERIC_DB_STORE_FAILED``.