taler-docs

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

delete-private-templates-TEMPLATE_ID.rst (695B)


      1 .. http:delete:: [/instances/$INSTANCE]/private/templates/$TEMPLATE_ID
      2 
      3   This is used to delete information about a template. If we no longer use it.
      4 
      5   **Required permission:** ``templates-write``
      6 
      7   **Response:**
      8 
      9   :http:statuscode:`204 No content`:
     10     The backend has successfully deleted the template.
     11   :http:statuscode:`401 Unauthorized`:
     12     The request is unauthorized.
     13   :http:statuscode:`404 Not found`:
     14     The backend does not know the instance or the template.
     15     Returned with ``TALER_EC_MERCHANT_GENERIC_TEMPLATE_UNKNOWN``.
     16   :http:statuscode:`500 Internal Server Error`:
     17     The server experienced an internal failure.
     18     Returned with ``TALER_EC_GENERIC_DB_STORE_FAILED``.