Skip to content

Update Document

Update the content or metadata of an existing document. Requires the DOCUMENTS feature flag and ADMIN, UPDATE_DOCUMENT, or MANAGE_DOCUMENTS permissions.

Parameters

name * are required parametersdata typedescription
documentId*stringThe unique identifier of the document to update
body.namestringUpdated display name
body.contentobjectUpdated document content

Return Value

The updated document record.

Examples

bash
curl -X POST "https://app.wombat.software/api/{targetPath}/document/:documentId" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..." \
  -d '{"name": "Updated Safety Policy"}'

ENDPOINTS

post/api/{targetPath}/document/:documentId