taler-docs

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

delete-private-otp-devices-DEVICE_ID.rst (623B)


      1 .. http:delete:: [/instances/$INSTANCE]/private/otp-devices/$DEVICE_ID
      2 
      3   **Required permission:** ``otp-devices-write``
      4 
      5   **Response:**
      6 
      7   :http:statuscode:`204 No content`:
      8     The backend has successfully deleted the OTP device.
      9   :http:statuscode:`401 Unauthorized`:
     10     The request is unauthorized.
     11   :http:statuscode:`404 Not found`:
     12     The backend does not know the instance or the OTP device.
     13     Returned with ``TALER_EC_MERCHANT_GENERIC_OTP_DEVICE_UNKNOWN``.
     14   :http:statuscode:`500 Internal Server Error`:
     15     The server experienced an internal failure.
     16     Returned with ``TALER_EC_GENERIC_DB_STORE_FAILED``.