Stop live stream by id

Use this to stop a specific live stream by its unique identifier.

POSThttps://api.100ms.live/v2/live-streams/<stream_id>/stop
curl --location --request POST 'https://api.100ms.live/v2/live-streams/<stream_id>/stop' \ --header 'Authorization: Bearer <management_token>' \
RESPONSE
Status: 200 OK
{ "id": "<stream_id>", "room_id": "<room_id>>", "session_id": "<session_id>", "status": "<status>", "destination": "<destination_name>", "playback": { "url": "<master-manifest>" }, "meeting_url": "<meeting_url>", "recording": { "hls_vod": false, "single_file_per_layer": false }, "created_at": "2023-03-02T07:44:27.012Z", "started_at": "2023-03-02T07:44:27.012Z", "updated_at": "2023-03-02T07:44:27.012Z", "stopped_at": "2023-03-02T07:44:27.014Z", "started_by": "<peer_id>", "stopped_by": "<peer_id>", "recording_assets": null }

Have a suggestion? Recommend changes ->

Run in postman

Was this helpful?

1234