Link relation loc:delete-item

Overview

Delete an item from the folder.

HTTP method

DELETE

URI template variables

-

Query parameters

mode

The deletion mode. The exact behavior depends on the system, see Information for specific systems for details. The value can be one of:

  • reference: Delete only the items in the folder, but not the assets.

  • media: Delete only the media files of the items.

  • metadata: Delete the items in the folder and the assets, but leave the media files intact.

  • all: Deletes the items in the folder and the assets, including the media files.

If the parameter is not given or empty, the default mode depends on the system.

override-reservations

Override the reservation on the asset. Only for MediaCentral Production Management and MediaCentral Asset Management. See below for details.

Request body

-

HTTP response

204 No Content

The item was deleted.

403 Forbidden

The user doesn’t have the required permissions.

403 Forbidden

MC | AM: The asset is reserved.

MC | PM: Item is in a reserved folder.

Response body

-

Available in

Information for specific systems

MediaCentral Asset Management

Query parameter

Value

Description

mode

reference

Delete the reference in the folder, but leave the asset in place.

This is the only mode that allows deleting sub folders.

metadata

Not supported.

media

Delete all media files of the referenced assets. Media files that are shared with other assets are not deleted.

all

Delete items in the folder and the referenced assets, including the media files. Media files that are shared with other assets are not deleted.

Up to MC|AM 2023.7, the mode was only supported if MAMAssetsCTC was configured to use a BPMN process for deletion.

not given or empty

The default mode is reference.

override-reservations

New in MC | Cloud UX 2023.12

Defines how to deal with reservations. One of:

  • all: Override all reservations.

  • media: Override reservations when deleting only media files (mode=media).

  • none, not given or empty: Don’t override reservations. Deletion will fail for reserved assets.

Up to 2023.7, the query parameter was ignored.

MediaCentral Production Management

Deleting sub folders is not supported.

Query parameter

Value

Description

mode

reference

Delete the reference in the folder, but leave the asset in place.

The call fails for an item if it is the last reference to the asset.

In MediaCentral Production Management this is an unusual deletion mode - it is offered for CTMS compatibility reasons (only) and requires more processing time and creates a higher PM Engine load than the other modes.

Normally a user should not care if an item is the last reference to an asset. Assets are protected by reservations or because they are still referenced.

metadata

Delete items in a folder and the referenced assets (if the item is the last reference to the asset).

Assets are deleted by the so called Scheduled Deletion. An Administrator can configure in the MediaCentral Production Management Delete Behavior settings when the PM Engine performs the asset deletions.

If the asset has online media files associated and the Delete Behavior setting "Permanently delete assets and associated online media from the Orphan Clips folder" is selected, the media is deleted together with the asset during the Scheduled Deletion. Otherwise the asset is moved to the Orphan Clips/Kept Media folder.

media

Delete all (online) media files of the referenced assets.

Items and referenced assets are not deleted, but will become offline.

all

Delete items in a folder and the referenced assets (if the item is the last reference to the asset), including the media files.

not given or empty

The default mode is metadata.

override-reservations

Defines how to deal with reservations. One of:

  • none: Do not override any reservation. This is the default if the query parameter is not given or empty.

  • media: Override reservations on media files.

  • metadata: Override reservations on assets.

  • all: Override all reservations.

Note: Query parameter "reservations" is also accepted, but it is deprecated. Use "override-reservations" instead.

MediaCentral Newsroom Management

Deleting sub folders is not supported.

Query parameter

Value

Description

mode

reference

Not supported.

metadata

Delete stories from a queue, including file references, but not the physical files on disk.

media

Not supported.

all

Same as metadata: Delete stories from a queue, including file references, but not the physical files on disk.

not given or empty

The default mode is metadata.

override-reservations

is ignored.