Revoke an API key
Revokes a key at once. The host that revoked it refuses the key immediately, and every Activity, Assets and RPC host within 2 seconds (authentication is cached for at most 2 seconds). Revoking the old key of a rotation ends its overlap window early. An unknown or malformed ID answers 404. Served by the Activity host for all products. Read-only and publishable keys get 403.
Authorizations
Send Authorization: Bearer <key>. Testnet: lum_test_…; Mainnet: lum_live_…. A key works only on its own network, so pick the server that matches it (the other network answers 401). Publishable lum_pub_… keys call the GET data routes only, from an allowed browser origin. Webhook keys (whk_…) are not accepted here.
Path Parameters
API key ID: id from GET /v1/keys or from the create response. The example ID is a placeholder and answers 404: use your own.
"00000000-0000-4000-8000-000000000000"
Response
The key is revoked. Revoking a revoked key also answers 200.