post-management-signkeys-EXCHANGE_PUB-revoke.rst (1167B)
1 .. http:post:: /management/signkeys/$EXCHANGE_PUB/revoke 2 3 Revoke exchange online signing 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 `SignkeyRevocationSignature` 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 This response comes with a standard `ErrorDetail` response with 18 a code of ``TALER_EC_EXCHANGE_MANAGEMENT_SIGNKEY_REVOKE_SIGNATURE_INVALID``. 19 :http:statuscode:`500 Internal Server Error`: 20 The server experienced an internal error. 21 This response comes with a standard `ErrorDetail` response with 22 a code of ``TALER_EC_GENERIC_DB_STORE_FAILED``. 23 24 **Details:** 25 26 .. ts:def:: SignkeyRevocationSignature 27 28 interface SignkeyRevocationSignature { 29 30 // Signature by the exchange master key over a 31 // `TALER_MasterSigningKeyRevocationPS`. 32 // Must have purpose ``TALER_SIGNATURE_MASTER_SIGN_KEY_REVOKED``. 33 master_sig: EddsaSignature; 34 35 }