跳转到主要内容
POST
/
volc
/
asset
/
DeleteAsset
删除素材
curl --request POST \
  --url https://www.anyfast.ai/volc/asset/DeleteAsset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "volc-asset",
  "Id": "asset-20260528140922-d9646"
}
'
{
  "Id": "asset-20260528140922-d9646",
  "Deleted": true
}

授权

Authorization
string
header
必填

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

请求体

application/json
Id
string
必填

要删除的素材 ID。

示例:

"asset-20260528140922-d9646"

model
string

模型名称。默认 volc-asset

示例:

"volc-asset"

响应

删除成功

Id
string

已删除的素材 ID。

示例:

"asset-20260528140922-d9646"

Deleted
boolean

是否已删除。

示例:

true