rootUnsubscribe

Unsubscribe from root notifications

Parameters

number (required)

The subscription ID to cancel.


Result

Returns a <bool> indicating whether the unsubscribe operation was successful:

  • true: Unsubscribe operation succeeded.

  • false: Unsubscribe operation failed.


Code Sample

Request Example:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "rootUnsubscribe",
  "params": [0]
}

Response Example:

{
  "jsonrpc": "2.0",
  "result": true,
  "id": 1
}

Last updated