Assets

Bulk delete assets

Delete multiple uploaded image assets. Only the original uploader can delete their assets. Returns the count of successfully deleted assets and list of failed IDs.

POST
/assets/bulk-delete
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

asset_idsAsset Ids

List of asset IDs to delete (1-100 assets per request).

Items1 <= items <= 100

Response Body

Examples

curl -X POST "https://v2.api.piktid.com/assets/bulk-delete" \
  -H "Content-Type: application/json" \
  -d '{
    "asset_ids": [
      "string"
    ]
  }'
{
  "deleted_count": 0,
  "failed_ids": [
    "string"
  ]
}
Empty
Empty