跳转到主要内容
DELETE
/
asset
/
{assetId}
TypeScript
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();
{
  "errors": [
    [
      "id not provided",
      "Account not found"
    ]
  ]
}

删除资产

授权

Authorization
string
header
必填

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

路径参数

assetId
string
必填

ID of the asset

响应

Success (No content)

Last modified on March 1, 2026