curl --location --request PUT '/api/document/0' \
--header 'Ocp-Apim-Subscription-Key: {{your-api-key}}' \
--header 'Authorization: Bearer {{your-access-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"user": {
"id": 4,
"email": "user@example.com"
},
"modified_by": "user@example.com",
"type": "file",
"source": "Updated_Document.txt",
"tags": [
"string"
],
"is_deleted": false,
"upload_from": "web",
"step": "completed",
"is_failed": false,
"corpus": 484
}'
{
"document_id": 13212,
"message": "Document updated successfully."
}