api_access_token: ********************curl --location --request PUT 'http://localhost:3030/platform/api/v1/documents/' \
--header 'api_access_token: <api-key>' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"content": "This is the updated content of the product manual...",
"assistant_id": 123
}'{
"success": true,
"document": {
"id": 456,
"name": "Product Manual",
"external_link": "https://example.com/manual.pdf",
"content": "This is the updated content of the product manual...",
"assistant_id": 123,
"account_id": 789,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
},
"message": "Document updated successfully with new FAQ and embeddings",
"faqs_deleted": 5,
"faqs_generated": 5
}