Skip to main content

Take a document out of a location.

DELETE/api/v1/documents/{document_id}/locations/{location_id}documents:write

Removes the filing; the location stays. Needs Remove Document Locations, View Locations and an edit grant on the unlocked document. 404 when the document is not filed in the location.

Scopedocuments:write
AsynchronousNo
MCP tooldelete_document_location
Portal permissionsremove_document_locations, view_locations

Parameters​

NameInTypeRequiredDescription
document_idpathstringRequired
location_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Responses​

StatusDescriptionBody
204Done.
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409lockedapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.