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>" } '
Update a document (rename)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
New filename for the document
Successfully updated document
Was this page helpful?