Close a stream

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

To close the stream, make a DELETE request to this endpoint. This will close the connection and end the stream. The stream will be closed automatically if no render requests are sent for 2 minutes with one stream.

await fetch(`/stream/${streaId}`,{ 
    method: 'DELETE',
     headers: {
      Authorization: `Bearer ${SECRET_KEY}`
    }, 
})

Path Params
string
required

Stream ID, obtained from the 'Create a stream' request

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json