Bool deletecontent(int[] contentids), Deletecontent() – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 29

Advertising
background image

17

bool DeleteContent(int[] contentIds)

Description
Deletes the specified

Content

and

ContentFolder

instances, as well as any associated files, in both the database and

persistent storage. This method returns True only if the operation was completely successful. None of the affected
instances can be in use by any Presentation, Dynamic Playlist, Web Page, or Device Webpage. In these cases a
descriptive error will be returned to the client.

Required Permissions
Content: Delete Content

Parameters

[int[]] contentIds: An array of [int] Id values reflecting the Content instances to be deleted. The
maximum number of items is limited to 100 by the server. Attempting to request more than the allowed number of
objects will cause an error. A descriptive error will be returned if one or more Content

[int] Id is invalid. If the

client passes an empty array, or if none of the identifiers in the array match existing content instances, the server
will immediately return an empty response without an error.

Advertising