Remove Collection Items

DELETE

Remove or unpublish items in a collection.

Path parameters

collection_idstringRequired

Unique identifier for a Collection

Headers

Accept-VersionstringOptional

The API version

Query parameters

livebooleanOptional

Boolean indicating if the item(s) should be published/unpublished to/from the live site

Request

This endpoint expects an object.
itemIdslist of stringsOptional

Array of item ids to delete or unpublish

Response

Request was successful

deletedItemIdslist of stringsOptional

Array of deleted item ids

errorslist of stringsOptional

Array of errors