cURL
curl --request PUT \ --url https://core-api.getaptly.com/api/knowledge/{id} \ --header 'Content-Type: application/json' \ --header 'x-token: <api-key>' \ --data ' { "name": "Updated Lease Addendum Policy", "html": "<p>Revised policy effective March 2026...</p>" } '
{ "_id": "<string>" }
Updates a knowledge document’s content and/or metadata. Only fields provided in the request body are updated — omitted fields are left unchanged.
The knowledge document ID.
New document title.
Replacement HTML content for the document body.
New access level.
public
private
Document updated.