Open source media management and distribution platform

asset/delete

Delete multiple assets simultaneously

Through this call you can remove multiple assets in a single request. Assets can be removed only when no longer attached media files to this asset or if the parameter is delete=cascade.

If you remove an asset, then stills, metadata and collections are removed too.

Request URL

/asset/delete?asset_id[]={asset_id} [POST]

Request parameters

Parameter

Type

Description

Method

Obligatory/Optional

asset_id[]

alphanumeric

The deleted assets

POST

obligatory

user_id

string

user id for autorisation

POST

obligatory

delete

'cascade'

If the delete=cascade, then all of the item in the asset will be deleted

POST

optional

 

Example request URL

/asset/delete
POST:
delete=cascade
asset_id[]=VlN2ZDKv9rpsfmBAWpvfiw1zQ6z
asset_id[]=hjk8768klh809jhkIKJ

Response fields

Field

Description

asset_id

ID of the deleted assets

result

The result of de action

result_id

The result ID of the action

result_description

The description of the result of the action