Skip to main content
DELETE
/
v1
/
api_key
Delete API Key
curl --request DELETE \
  --url https://api.hypereth.io/v1/api_key \
  --header 'Content-Type: application/json' \
  --data '{
  "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
}

Body

application/json

Delete API key request

api_key_to_delete
string
required

API key to delete

Example:

"hypereth_1234567890abcdef1234567890abcdef"

nonce
integer
required

Nonce in EIP-191 personal sign message, timestamp in milliseconds

Example:

1758690167820

signature
string
required

EIP-191 personal sign of the nonce using the Ethereum wallet. Message format: "HyperETH: List All API Keys\nNonce: {nonce}"

Example:

"0xea63d2f515f3846a42c9c11a3e74f2000d04d19069dd3072ae1a09b13a9c1d8d171e73e465e16df0c7c66a613c5b64b68cc988fe7907cc1081112ec13b796d2e10"

Response

API key deleted successfully

success
boolean
Example:

true

message
string
Example:

"API key and associated agent wallets deleted successfully"

agent_wallets_deleted
integer

Number of agent wallets deleted related to this API key

Example:

2