Regarding the future of VPX — Read our announcement →
vancouverpx
← Back to Markets

API Documentation

One API for markets, your account and trading, for scripts, AI agents and VPX Bots

DELETE

Revoke your API key

/api/v1/keys/current · needs an API key · not for VPX bots

Stop the key you're calling with working, at once.

For an agent or script that is done. A key can only revoke itself and can't make keys, so a key that leaks is cut off by revoking it on your Developer page: new keys come only from there, or from a request you approve.

Request

curl -X DELETE "https://www.vancouverpx.ca/api/v1/keys/current" \
  -H "Authorization: Bearer $VPX_API_KEY"

Response

200 with this object:

FieldTypeDescription
idstringThe id of the key revoked
revokedtrue
Example
{
  "id": "clz3m1q8b0001ab12cd34ef56",
  "revoked": true
}

Errors

The errors every endpoint can answer.

Revoke your API key | VPX API Docs