Skip to main content

Unlock a document's custom field template.

DELETE/api/v1/documents/{document_id}/custom-field-locks/{custom_field_template_id}documents:write

Removes the lock, so the template's rows of the document can be changed again. Needs Unlock Custom Field Values and read access to the document; an edit grant is not needed, as in the Portal. 404 when the document has no lock on that template. The activity log records Unlocked Custom Field Template.

Scopedocuments:write
AsynchronousNo
MCP tooldelete_document_custom_field_lock
Portal permissionsunlock_custom_field_values

Parameters​

NameInTypeRequiredDescription
document_idpathstringRequired
custom_field_template_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
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.