taler-docs

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

delete-private-donau-DONAU_SERIAL.rst (918B)


      1 .. http:delete:: [/instances/$INSTANCE]/private/donau/$DONAU_SERIAL
      2 
      3   Unlink the Donau charity instance identified by ``$DONAU_SERIAL``.
      4 
      5   **Required permission:** ``donau-write``
      6 
      7   **Response:**
      8 
      9   :http:statuscode:`204 No content`:
     10     Charity link removed.
     11   :http:statuscode:`400 Bad Request`:
     12     The ``$DONAU_SERIAL`` parameter is malformed.
     13     Returned with ``TALER_EC_GENERIC_PARAMETER_MALFORMED``.
     14   :http:statuscode:`401 Unauthorized`:
     15     The request is unauthorized.
     16     Returned with ``TALER_EC_MERCHANT_GENERIC_UNAUTHORIZED``.
     17   :http:statuscode:`404 Not found`:
     18     No such instance or Donau charity link is known to the backend.
     19     Returned with ``TALER_EC_MERCHANT_GENERIC_INSTANCE_UNKNOWN`` or
     20     ``TALER_EC_MERCHANT_GENERIC_DONAU_UNKNOWN``.
     21   :http:statuscode:`500 Internal Server Error`:
     22     The server experienced an internal failure.
     23     Returned with ``TALER_EC_GENERIC_DB_STORE_FAILED``.