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();
Copiar
Preguntar a la IA
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}
Assets
Eliminar activo
Eliminar un activo
DELETE
/
asset
/
{assetId}
TypeScript
Copiar
Preguntar a la 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();
Copiar
Preguntar a la IA
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}