Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
DELETE /v1/assets/ — 删除素材
curl -X DELETE https://api.qingbo.ai/v1/assets/ast_3f9c2a7d1e8b4c6a5f0e9d21 \ -H "Authorization: Bearer YOUR_API_KEY"
import requests response = requests.delete( "https://api.qingbo.ai/v1/assets/ast_3f9c2a7d1e8b4c6a5f0e9d21", headers={"Authorization": "Bearer YOUR_API_KEY"} ) print(response.json()["deleted"])
{ "id": "ast_3f9c2a7d1e8b4c6a5f0e9d21", "object": "asset", "deleted": true }
{ "error": { "message": "素材不存在", "type": "invalid_request_error", "param": "asset_id", "code": "asset_not_found" } }
Bearer YOUR_API_KEY
ast_
id
asset
true
code
asset_not_found
asset_store_error