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:
| Field | Type | Description |
|---|---|---|
| id | string | The id of the key revoked |
| revoked | true |
Example
{
"id": "clz3m1q8b0001ab12cd34ef56",
"revoked": true
}Errors
The errors every endpoint can answer.