taler-docs

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

delete-private-token.rst (779B)


      1 .. http:delete:: [/instances/$INSTANCE]/private/token
      2 
      3    Delete the token presented in the authorization header.
      4 
      5   **Response:**
      6 
      7   :http:statuscode:`204 No content`:
      8     The access token used to authorize this request was revoked.
      9   :http:statuscode:`400 Bad Request`:
     10     The request is malformed.
     11     Returned with ``TALER_EC_GENERIC_PARAMETER_MALFORMED``.
     12   :http:statuscode:`401 Unauthorized`:
     13     The request is unauthorized.
     14     Returned with ``TALER_EC_MERCHANT_GENERIC_UNAUTHORIZED``.
     15   :http:statuscode:`404 Not found`:
     16     The instance is unknown.
     17     Returned with ``TALER_EC_MERCHANT_GENERIC_INSTANCE_UNKNOWN``.
     18   :http:statuscode:`500 Internal Server Error`:
     19     The server experienced an internal failure.
     20     Returned with ``TALER_EC_GENERIC_DB_STORE_FAILED``.