taler-docs

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

post-management-denominations-H_DENOM_PUB-revoke.rst (804B)


      1 .. http:post:: /management/denominations/$H_DENOM_PUB/revoke
      2 
      3   Revoke denomination key, preventing further use by the exchange.
      4   Only to be used by the exchange's offline key management team. Not useful
      5   for anyone else.
      6 
      7   **Request:**
      8 
      9   The request body must be a `DenomRevocationSignature` object.
     10 
     11   **Response:**
     12 
     13   :http:statuscode:`204 No content`:
     14     The request was successfully processed.
     15   :http:statuscode:`403 Forbidden`:
     16     The provided signature is invalid.
     17 
     18   **Details:**
     19 
     20   .. ts:def:: DenomRevocationSignature
     21 
     22     interface DenomRevocationSignature {
     23 
     24       // Signature by the exchange master key over a
     25       // `TALER_MasterDenominationKeyRevocationPS`.
     26       // Must have purpose ``TALER_SIGNATURE_MASTER_DENOMINATION_KEY_REVOKED``.
     27       master_sig: EddsaSignature;
     28 
     29     }