PUT /api/v1/account/cancel-on-disconnect
Set cancel-on-disconnect
Set cancel-on-disconnect.
operationId: setCancelOnDisconnectV1
Declared server differs from the callable one. This path declares its own
serversbase ofhttps://exchange.nexus.xyz, without the/api/exchangemount the document default carries. Measured 2026-09-02, the override is not routed —https://exchange.nexus.xyz/api/v1/account/cancel-on-disconnectreturns404while the gateway form in the sample below is routed. A client generated from this contract will aim at the override; pin the gateway base until the per-network hosts are live. See Networks.
Not reachable through CCXT. Cancel-on-disconnect is a Nexus session policy, not a CCXT method.
Authentication: hmacAuth.
Enables or disables cancel-on-disconnect for the authenticated account. Opt-in is per account and off by default: someone who deliberately leaves a passive resting order while offline should not have a brief blip cancel it. Enable it when you want the guarantee that a dead client cannot keep orders resting — typical for market makers and algorithmic traders. Returns the resulting COD status (same shape as the GET).
Request body
Required. SetCancelOnDisconnectRequest — application/json.
{
"enabled": true
}Responses
400
— (no schema declared)
Malformed request body.
401
— (no schema declared)
—
Example
X-Signature is a placeholder: it is derived from this specific request. See Authentication for the canonical string and the HMAC rule.
Generated from eng/apps/exchange/api/openapi.json (spec 0.9.36). Do not edit by hand — regenerate with python3 product/docs/tools/api-reference/generate.py. Hand-authored context lives in the Guides pages.
Last updated

