Skip to main content

Deletestream

DeleteStream

This call can be used to remove particular streams, without modifying other streams. It has three allowed forms, all behaving identically:

// Either...
{
"deletestream": "streamname_here"
}
// Or...
{
"deletestream": [
"streamname_here",
//multiple streams may be deleted simultaneously
]
}
// Or...
{
"deletestream": {
"streamname_here": {},//contents ignored
//multiple streams may be deleted simultaneously
}
}

The resulting "streams" reply from MistServer will not contain all streams, but instead only updated/new streams. To indicate this, a special stream ""incomplete list":1" is added to the list of streams. If no "" call is done at the same time as this call, the streams list will thus be empty.