Delete SSF stream
DELETE
/v1/signals/stream
const url = 'http://localhost:8693/v1/signals/stream?stream_id=example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url 'http://localhost:8693/v1/signals/stream?stream_id=example'Removes an active SSF event stream.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” stream_id
required
string
Responses
Section titled “ Responses ”Stream deleted
Missing stream_id
Media type application/json
object
error
required
Error code (RFC 8693 compatible)
string
error_description
Human-readable error detail
string
Example
{ "error": "invalid_request"}Stream not found
Media type application/json
object
error
required
Error code (RFC 8693 compatible)
string
error_description
Human-readable error detail
string
Example
{ "error": "invalid_request"}