keys
Revoke a key
Revokes one of the signed-in user's keys; requests that carry it answer 401 invalid_api_key from then on. Cannot be undone. Answers 404 when the id is not one of the user's active keys. Session cookie auth, not an API key.
delete/keys/{key_id}
Request
- Base URL: https://api.tradingpal.io/api/v1
- URL: https://api.tradingpal.io/api/v1/keys/{key_id}
- Auth: API key in cookie tp_sessionid
Path parameters
key_idinteger required
The numeric id of the key, from GET /keys.
Response
Revoked
Example response
{
"id": 12,
"revoked_at": "2026-09-25T10:00:00+00:00"
}Changes
No recorded changes to this operation across all 1 revision of this API.