v3

latestOpenAPI 3.0.02026-07-311784111.3 MB
Session Management
Private

Read current Cancel On Disconnect configuration for the account.

Scope: account:read

Try in API console

get/private/get_cancel_on_disconnect

Query parameters

scope'connection' | 'account'

Specifies if Cancel On Disconnect change should be applied/checked for the current connection or the account (default - connection)<br/><br/> NOTICE: Scope connection can be used only when working via Websocket.

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": {
    "enabled": true
  }
}