Exchanges

Drop the service's cached copy of your venue credentials

Evicts the cached credential set for one venue (or all of them) so the next order re-reads it from storage. Use after rotating a venue API key or re-running an enable-trading flow, when the executor would otherwise keep using the stale credential for the cache's lifetime. Does not delete or modify any stored credential. Auth. Authentication and self-ownership only — user_id must equal the authenticated caller. No scope is enforced and no mutation gate applies, so a bare session JWT is sufficient.

post/credentials/invalidate

Request

  • Base URL
    https://execution.kairos.trade
  • Auth
    API key in header X-Client-Id and API key in header X-Api-Key and API key in header X-Api-Secret

Request body

user_idstring required

Must equal the authenticated caller's id — a mismatch is a 403.

exchange_idstring nullable

Omit to invalidate the cached credentials for EVERY registered exchange. NOT canonicalized, so a deprecated alias such as kalshi_offchain may 404.

Response

Cache evicted.

successboolean required

Always true on the success path.

Changes

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