Actions110
- Absence Actions
- Checklist Item Actions
- Comment Actions
- Company Actions
- Company Contact Actions
- Custom Field Actions
- Document Actions
- Document Space Actions
- File Actions
- Project Actions
- Get All Projects
- Get Project by ID
- Get All Project Statuses
- Get Project Statuses of Project
- Create Project
- Get Task Statuses of Project
- Get Task Lists of Project
- Create Project Status
- Change Project Status
- Create Task Status
- Create Task List
- Get Comments
- Update Project
- Delete Project
- Get Task List
- Update Task List
- Delete Task List
- Project Member Actions
- Project Task Actions
- Tag Actions
- Time Entry Actions
- Type of Work Actions
- User Actions
Document → Delete Document
AI-generatedSummary
Delete a specified document in awork by its document ID, optionally deleting all its child documents.
Inputs
- Document ID (required) — The ID of the document to delete.
- Also Delete Children — Boolean flag to determine whether to delete child documents of the specified document. If false, children are moved to the deleted document's parent.
Output shape
a JSON object confirming the deletion or providing the API response result
The response typically confirms the deletion status. If children are not deleted, they are reassigned to the deleted document's parent. No pagination or batching applies to the single delete operation, but batching options exist to throttle multiple delete requests if input contains multiple document IDs.