Appearance
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 parameters | data type | description |
|---|---|---|
documentId* | string | The unique identifier of the document to update |
body.name | string | Updated display name |
body.content | object | Updated 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