rooms/:name/live-streaming/remove-endpoints
Changed onRemove RTMP destinations from a live stream that is running in a room. Each endpoint must be the name of an rtmp entry in the room's streaming_endpoints property; unknown names are rejected with a 400. This is the REST counterpart of daily-js removeLiveStreamingEndpoints(). A stream cannot be left with no destination: a request that would remove every endpoint is rejected by the media server and reported as a streaming.warning; stop the live stream instead.
The update is asynchronous. A 200 means the request was accepted and forwarded to the live stream, not that it has taken effect. The streaming.updated webhook confirms the request was processed; anything the media server rejects or fails to apply later arrives as a streaming.warning webhook, or as a live-streaming-warning event in daily-js.
Request
- Base URLhttps://api.daily.co/v1
- AuthHTTP bearer
Path parameters
Request body
Response
200
Changes
- info
endpoint added
- info