Skip to main content
PUT
/
v1
/
knowledge
/
documents
/
{id}
cURL
curl --request PUT \
  --url https://api.anam.ai/v1/knowledge/documents/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filename": "<string>"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
filename
string

New filename for the document

Response

Successfully updated document