Removes all items from the given collection.
import { Showpad } from '@showpad/experience-app-sdk'const collection = { "id": "c3e2a7a48eea0209af74c0d45e616da6", "name": "Sample"}await Showpad.clearCollection(collection.id) Copy
import { Showpad } from '@showpad/experience-app-sdk'const collection = { "id": "c3e2a7a48eea0209af74c0d45e616da6", "name": "Sample"}await Showpad.clearCollection(collection.id)
Generated using TypeDoc
Removes all items from the given collection.
Example