Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
New filename for the document
Response
Successfully updated document
curl --request PUT \
--url https://api.anam.ai/v1/knowledge/documents/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"filename": "<string>"
}'Update a document (rename)
curl --request PUT \
--url https://api.anam.ai/v1/knowledge/documents/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"filename": "<string>"
}'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
New filename for the document
Successfully updated document
Was this page helpful?