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.
AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
asset_idsAsset Ids
List of asset IDs to delete (1-100 assets per request).
Items
1 <= items <= 100Response 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"
]
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty