DeleteStream
Termination of stream processing and removal from the server. It is possible to delete DVR recordings as well, however, the deletion of DVR may be blocked at the configuration level of the media server, see Mediaserver/Configuration/Server (mediaserver.ini).
The stream configuration file is not deleted from the server, but renamed. It can be restored manually if needed.
DELETE /api/streams/{stream-uid}/
Body | |||||||||
stream-uidoptional | uid | Unique identifier of the stream {@hint:uid}. | |||||||
erase_dvrrequired | bool | Indicates what actions should be taken with DVR recordings. By default, the value is false. | |||||||
tokenrequired | string | API request authorization token. See Mediaserver/Web API/Authorization/CreateApiToken. |
Response | |||||||||
200 | Returns the UID of the deleted stream. | ||||||||
JSON
| |||||||||
404 | The stream with this UID was not found. | ||||||||
403 | Authorization error. Invalid or missing API access token. See Mediaserver/Web API/Authorization/CreateApiToken. |
Example | |||||||||
JSON
|