HomeDocumentationAPI Reference
Log In
API Reference

Set Cancel On Disconnect

Method Name

private/set_cancel_on_disconnect

Enables cancel on disconnect for the account
Required minimum session key permission level is account

Parameters

enabledbooleanrequired
Whether to enable or disable cancel on disconnect
walletstringrequired
Public key (wallet) of the account

Response

idstring or integerrequired
resultstringrequired
enum ok

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}