Close a stream

Closes the stream and releases the GPU host, finalising the minutes charge.

Idempotent in the useful direction: closing an id that does not exist returns 200. Closing an already-closed stream is an error.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
curl -X DELETE 'https://apis.elai.io/api/v1/streams/66a1f0c2b7cd13032a9c6200' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
Path Params
string
required

Stream id returned by POST /streams.

Responses

streamId is not a valid ObjectId, the stream belongs to another workspace, or it is already closed.

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