import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.asset.delete("<id>");
// Handle the result
console.log(result);
}
run();
Copier
Demander à l'IA
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}
Assets
Supprimer un actif
Supprimer un actif
DELETE
/
asset
/
{assetId}
TypeScript
Copier
Demander à l'IA
import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.asset.delete("<id>");
// Handle the result
console.log(result);
}
run();
Copier
Demander à l'IA
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}