Skip to main content
DELETE
/
kyyReactApiServer
/
kyyVideo2
/
asset
/
{assetId}
curl --request DELETE \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/kyyVideo2/asset/asset-20260330142158-q75m8 \
  --header 'Authorization: Bearer {{key}}'
{
  "code": "0",
  "msg": "删除成功",
  "data": null
}

KyyVideo2 Delete Asset

Delete specified asset. Cannot be recovered after deletion, please operate with caution.
Important Notice:
  • Assets cannot be recovered after deletion
  • Confirm the asset is no longer in use before deletion
  • Recommend backing up important assets before deletion

Authentication

All requests require a Bearer token in the request header:
Authorization: Bearer {{key}}

Path Parameters

assetId
string
required
Asset ID to deleteExample: asset-20260330142158-q75m8

Response Parameters

code
string
Response status code
  • "0" - Deletion successful
  • Other values - Deletion failed
msg
string
Response message
  • Returns "删除成功" (Deletion successful) on success
  • Returns specific error message on failure
data
null
Data field, returns null for deletion operation

Use Cases

Clean Unused Assets

Delete assets that are no longer needed to free up storage space

Asset Management

Manage asset library and keep asset list clean

Clean Failed Assets

Delete failed or incorrect assets

Privacy Protection

Delete assets containing sensitive information

Pre-deletion Checklist

1

Confirm Asset Information

Use asset detail API to confirm the asset information to be deleted
2

Check Usage

Confirm the asset is not being used by ongoing video generation tasks
3

Execute Deletion

Call delete API to delete the asset
4

Verify Result

Verify asset has been deleted through asset list or detail API
Deletion Notes:
  • Deletion is permanent and cannot be undone
  • Deleting assets does not affect already generated videos
  • After deletion, the asset ID can no longer be used
  • Recommend regularly cleaning up unneeded assets
Best Practices:
  • Query asset details before deletion to confirm target asset
  • For important assets, download backup before deletion
  • For batch deletion, delete one by one and check results
  • Record deleted asset IDs to avoid misuse
curl --request DELETE \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/kyyVideo2/asset/asset-20260330142158-q75m8 \
  --header 'Authorization: Bearer {{key}}'
{
  "code": "0",
  "msg": "删除成功",
  "data": null
}