Actions31
Document → Delete
AI-generatedSummary
Delete a document in the Outline Wiki by its UUID or URL slug, either moving it to the trash for potential recovery or permanently destroying it.
Inputs
- Document ID (required) — The UUID or URL slug (urlId) of the document to delete.
- Permanent — Boolean flag indicating whether to permanently destroy the document (true) or move it to trash (false, default).
Output shape
a single JSON object representing the API response confirming deletion.
The response shape depends on the Outline API's /documents.delete endpoint. If 'Permanent' is false or omitted, the document is moved to trash and can be restored later; if true, the deletion is permanent with no recovery.
Examples
Example 1: Move document to trash (default)
Provide documentId and omit Permanent or set it to false.
Example 2: Permanently delete a document
Provide documentId and set Permanent to true.