Skip to content
LogoLogo

End the caller's Document collaboration-presence lease

End the caller's Document collaboration-presence lease

DELETE/api/v1/documents/{document_id}/collaboration-sessions/{session_id}

Ends only the caller's own session. Repeating a successful end remains successful. A nonexistent or somebody else's session returns 404 so the operation cannot disclose collaborator presence. No Workspace event or Activity item is written.

Path Parameters

document_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
session_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Responses