Permanent Delete Document
DELETE /api/writing/documents/{document_id}/permanent
DELETE
/api/writing/documents/{document_id}/permanent
π₯ Permanently delete a trashed document β unlinks the .docx, strips ChromaDB vectors, deletes the WorldSpell profile, drops the SQLite row.
Refuses to operate on active rows: the author must move the doc to the Trash first. That keeps a single one-click delete from annihilating the wrong chapter.
Parameters
Section titled β Parameters βPath Parameters
Section titled βPath Parameters β document_id
required
Document Id
Document ID
string
Document ID
Responses
Section titled β Responses βSuccessful Response
Response Permanent Delete Document Api Writing Documents Document Id Permanent Delete
object
key
additional properties
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context