Skip to main content

remove_stream

This method removes a stream from EyesOnIt which was previously added through the add_stream endpoint. When a stream is removed from EyesOnIt the license for that stream will be free to use for another stream after 24 hours.

Method: POST

Endpoint: /remove_stream

Body

{
"stream_url": "rtsp://192.168.1.54/live0"
}

Body Attribute Descriptions

NameTypeDescription
stream_urlstringthe URL of the stream to remove. This URL must exactly match the streamUrl provided to the add_stream endpoint.

Response

{
"success": true,
"message":"successfully removed stream rtsp://192.168.1.54/live0",
"data": null
}

Response Attribute Descriptions

NameTypeDescription
successbooleantrue if the operation was successful. false otherwise.
messagestringa human readable message describing the operation result
dataJSONif the request is not successful, this field provides detailed JSON error information.