Bulk actions are a way to interact with one or more of your documents. The following are available:
- schedule: Publish at a future date
- publish: Publish now
- unpublish: Unpublish documents to demo status
- trash: Move document to trash. Will automatically delete in 15 days
- restore: Restore a document from trash to demo mode
- delete: Delete a document that is already in trash
Endpoint:
POST /api/documents/actions/:action
{
"data": {
ids: ["id1","id2","id3"],
date: "Optional Future Date in Iso format"
}
}