You can remove an asset with this call. Assets can only be removed when no longer attached media files to this asset or if the delete=cascade parameter is exsists.
If you remove an asset, then stills, metadata and collections are removed too.
/asset/{asset_id}/delete [POST]
|
Parameter |
Type |
Description |
Method |
Obligatory/Optional |
|
asset_id |
alphanumeric |
The deleted asset's id |
URL |
obligatory |
|
user_id |
string |
user id for authorisation |
POST |
obligatory |
|
delete |
'cascade' |
If the delete=cascade, then all of the item in the asset will be deleted |
POST |
optional |
/asset/VlN2ZDKv9rpsfmBAWpvfiw1zQ6z/delete?delete=cascade
|
Field |
Description |
|
n/a |
With this call no data is returned back beside the standard header |