Skip to content

Release Lock

POST
/api/writing/locks/{document_id}/release

Release ownership of a document.

Called by the frontend on document close, project switch, or app shutdown. Only deletes the lock if it belongs to the current session (silent no-op otherwise).

document_id
required
Document Id

Document ID to unlock

string

Document ID to unlock

Successful Response

Response Release Lock Api Writing Locks Document Id Release Post
object
key
additional properties
boolean

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object