Revoke a key. Effective on every host within 2 000 ms; in-flight reservations complete and bill the account.
DELETE/v1/account/:erd/keys/:keyId
Revoke a key. Effective on every host within 2 000 ms; in-flight reservations complete and bill the account.
Request
Responses
- 204
- 401
- 403
- 404
Revoked.
UNAUTHENTICATED, TOKEN_INVALID (details.expectedShard = 1 when the native-auth block hash is not a shard-1 block), TOKEN_EXPIRED, CHALLENGE_INVALID, API_KEY_INVALID, STREAM_TICKET_INVALID, ASSIGN_PROOF_REQUIRED, ASSIGN_PROOF_INVALID.
FORBIDDEN, ORIGIN_NOT_ALLOWED, API_KEY_SCOPE, ACCOUNT_SUSPENDED, LEASE_INVALID, RECEIVER_NOT_ALLOWED, SENDER_NOT_AUTHORIZED, DEPLOY_NOT_ALLOWED, FREE_FLOW_BARRED.
NOT_FOUND.