DELETE
/
stream
/
{id}
/
terminate
import { Livepeer } from "livepeer";

const livepeer = new Livepeer({
  apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await livepeer.stream.terminate("<id>");

  // Handle the result
  console.log(result);
}

run();
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the stream

Response

204
_mintlify/placeholder

Success