cURL
curl --request POST \ --url https://{projectHost}/collections/{collectionName}/docs/update \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "docs": [ { "id": "example-id1", "example-field1": "example-value1", "example-field2": [ 0.1, 0.2, 0.3 ] }, { "id": "example-id2", "example-field1": "example-value2", "example-field2": [ 0.4, 0.5, 0.6 ] } ] }'
{ "message": "Update request is accepted" }
Update documents in a collection. Note that the maximum supported payload size is 6MB.
Project API Key.
Collection name.
Update request accepted.
The response is of type object.
object
Was this page helpful?