Management APIApi key management
Delete API Key
Delete an API key and revoke access. This action is irreversible.
Request Body
application/json
api_key_to_delete*stringrequired
API key to delete
Example:
hypereth_1234567890abcdef1234567890abcdefnonce*integerrequired
Nonce in EIP-191 personal sign message, timestamp in milliseconds
Example:
1758690167820signature*stringrequired
EIP-191 personal sign of the nonce using the Ethereum wallet. Message format: "HyperETH: List All API Keys\nNonce: {nonce}"
Example:
0xea63d2f515f3846a42c9c11a3e74f2000d04d19069dd3072ae1a09b13a9c1d8d171e73e465e16df0c7c66a613c5b64b68cc988fe7907cc1081112ec13b796d2e10Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.hypereth.io/v1/api_key" \ -H "Content-Type: application/json" \ -d '{ "api_key_to_delete": "hypereth_1234567890abcdef1234567890abcdef", "nonce": 1758690167820, "signature": "0xea63d2f515f3846a42c9c11a3e74f2000d04d19069dd3072ae1a09b13a9c1d8d171e73e465e16df0c7c66a613c5b64b68cc988fe7907cc1081112ec13b796d2e10" }'{
"success": true,
"message": "API key and associated agent wallets deleted successfully",
"agent_wallets_deleted": 2
}{
"error": "Invalid API key",
"code": 1001,
"details": {}
}{
"error": "Invalid API key",
"code": 1001,
"details": {}
}