Jiniu AIJiniu AI
Docs
VideosVolcano native formatAsset libraryAsset group

Delete asset group

Upstream cannot delete a non-empty asset group, so the gateway deletes the assets one by one first, then the group. The request may therefore take a while; if the group holds too many assets it returns 409 and you need to clear it yourself first.

POST
/api/material

Authorization

bearerAuth

AuthorizationBearer <token>

Authorization: Bearer

In: header

Query Parameters

Action*string

Fixed value: DeleteAssetGroup

Value in"DeleteAssetGroup"

Request Body

application/json

Id*string

Asset group ID

Response Body

application/json

curl -X POST "https://jiniu.ai/api/material?Action=DeleteAssetGroup" \  -H "Content-Type: application/json" \  -d '{    "Id": "group-xxxx"  }'
{
  "ResponseMetadata": {
    "RequestId": "…",
    "Action": "DeleteAssetGroup"
  },
  "Result": {
    "Deleted": "group-xxxx"
  }
}