#I don't see my deleted collection appear in the trash bin
7 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
Community-Help:
This is a great question!
payload.delete() always permanently deletes — it never soft-deletes, even on collections with trash: true
The trash: true collection config enables the feature, but the actual soft-delete is done via update, not delete
so something like...
collection: 'my-collection',
id: 1,
data: { deletedAt: new Date().toISOString() },
overrideAccess: false,
user,
})```
That does the trick! Thanks for your help 🙂
Of course!