Disable Streaming
API-v2streaming::disable
Using this method, you can disable specific streaming events.
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | integer | ✓ | This ID can be used to access data (e.g. via http://localhost:7783/event-stream?id=1) |
| streamer_id | string | ✓ | An identifier for the data stream to disable. |
| Parameter | Type | Description |
|---|---|---|
| result | string | Success message confirming the stream was disabled |
stream::disable
POST
stream::disable{
"userpass": "RPC_UserP@SSW0RD",
"method": "stream::disable",
"mmrpc": "2.0",
"params": {
"client_id": 1,
"streamer_id": "BALANCE:MATIC"
}
}
| Parameter | Type | Description |
|---|---|---|
| StreamerNotFound | string | The specified streamer_id was not found |
| UnknownClient | string | No client has an open connection using this client_id |