Skip to main content

deleteCollectionContentItem

Delete a CollectionContentItem from a Collection.

Requires the collection/write permission on the given DemandHq

deleteCollectionContentItem(
alsoRemoveImageUrls: Boolean
collectionId: ID!
contentItemId: ID!
): DeleteCollectionContentItemResponse!

Arguments​

deleteCollectionContentItem.alsoRemoveImageUrls ● Boolean scalar​

If the contentItem is present as an ImageUrl on the Collection, also remove it from these fields.

deleteCollectionContentItem.collectionId ● ID! non-null scalar​

deleteCollectionContentItem.contentItemId ● ID! non-null scalar​

Type​

DeleteCollectionContentItemResponse object​

Returned object from deleteCollectionContentItem