Skip to main content
PUT
/
api
/
knowledge
/
{id}
Update a knowledge document
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>"
}

Authorizations

x-token
string
header
required

Path Parameters

id
string
required

The knowledge document ID.

Body

application/json
name
string

New document title.

html
string

Replacement HTML content for the document body.

accessType
enum<string>

New access level.

Available options:
public,
private

Response

Document updated.

_id
string