APIFree
APIFree
Volengine Assets

POST /v1/files/volengine/assets/delete

Delete a Volcano Engine material asset.

Delete a single Volcano Engine material asset owned by the current MaaS user. This endpoint supports Seedance 2.0 workflows by cleaning up material assets that are no longer needed.

Description

Use this endpoint to remove a material asset when it is no longer needed. The request targets one asset by asset_id.

Content types

  • application/json

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token in the format Bearer YOUR_API_KEY.
Content-TypestringYesMust be application/json.

Request body parameters

NameTypeRequiredDescription
asset_idstringYesVolcano Engine material asset identifier to delete.

Example request

curl https://api.apifree.ai/v1/files/volengine/assets/delete \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "asset_id": "asset_abc123"
  }'

Response schema

A successful response confirms that the asset was deleted or marked as deleted. The exact response fields can vary by upstream provider, but typical fields include:

FieldTypeDescription
asset_idstringDeleted asset identifier.
deletedbooleanWhether the asset was deleted.
statusstringDeletion status when available.

Example response:

{
  "asset_id": "asset_abc123",
  "deleted": true,
  "status": "deleted"
}

Errors

Typical error cases include:

  • Missing asset_id
  • Authentication failure
  • Asset not found
  • Asset does not belong to the current user
  • Upstream asset deletion failure