import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.multistream.delete("<id>");
// Handle the result
console.log(result);
}
run();
复制
询问AI
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}
Multistream
删除多流目标
Livepeer Studio API 端点
DELETE
/
multistream
/
target
/
{id}
TypeScript
复制
询问AI
import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.multistream.delete("<id>");
// Handle the result
console.log(result);
}
run();
复制
询问AI
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}