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.
Authorization
token_auth AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
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