Web3 Authentication

Revoke an API key

Revoke a specific API key by its ID. Requires a fresh SIWE challenge signed with personal_sign (EIP-191).

post/v1/web3/keys/revoke

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/web3/keys/revoke
  • Auth: none required

Request body

messagestring required

The SIWE message from the challenge endpoint

signaturestring required

Hex-encoded signature from personal_sign (0x-prefixed)

key_idstring uuid required

UUID of the key to revoke

Response

Key revoked successfully

messagestring

Confirmation message

wallet_addressstring

The wallet address that owned the key

Example response

{
  "message": "API key revoked successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.