taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

delete-private-pots-POT_ID.rst (866B)


      1 .. http:delete:: [/instances/$INSTANCE]/private/pots/$POT_ID
      2 
      3   This is used to delete information about a pot.  Existing
      4   references to the pot will simply be lost and treated as "no pot";
      5   there will be no indication that the pot is still in used from the
      6   backend.
      7 
      8   **Required permission:** ``pots-write``
      9 
     10   **Response:**
     11 
     12   :http:statuscode:`204 No content`:
     13     The backend has successfully deleted the pot.
     14   :http:statuscode:`400 Bad Request`:
     15     The pot ID parameter is malformed.
     16     Returned with ``TALER_EC_GENERIC_PARAMETER_MALFORMED``.
     17   :http:statuscode:`404 Not found`:
     18     The pot or the instance is unknown to the backend.
     19     Returned with ``TALER_EC_MERCHANT_GENERIC_MONEY_POT_UNKNOWN``.
     20   :http:statuscode:`500 Internal Server Error`:
     21     The server experienced an internal failure.
     22     Returned with ``TALER_EC_GENERIC_DB_STORE_FAILED``.