-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
I'm trying to use the deleteItems call to delete all items in a collection but getting a validation error response from the API.
await this.webflow.collections.items.deleteItems(collectionId)The documentation and the typescript client say items is optional so I don't understand why this would not be allowed.
API Docs: https://developers.webflow.com/data/reference/cms/collection-items/staged-items/delete-items
Request Type Definition:
Lines 11 to 13 in 4a5ff59
| export interface ItemsDeleteItemsRequest { | |
| items?: Webflow.collections.ItemsDeleteItemsRequestItemsItem[]; | |
| } |
Is it possible to bulk delete all items from a collection? And if so, how can this be achieved?
Metadata
Metadata
Assignees
Labels
No labels
