Indexes

Delete payload index

DEL
Deletes a payload index for a field in the specified collection.

Path parameters

collection_namestringRequired
Name of the collection
field_namestringRequired
Name of the field where to delete the index

Query parameters

waitbooleanOptional
If true, wait for changes to actually happen
orderingenumOptional
define ordering guarantees for the operation
Allowed values: weakmediumstrong

Response

This endpoint returns an object
time
doubleOptional
Time spent to process this request
status
stringOptional
result
objectOptional
DEL
1curl -X DELETE http://localhost:6333/collections/collection_name/index/field_name \
2 -H "api-key: <apiKey>"
200Deleted
1{
2 "time": 1.1,
3 "status": "status",
4 "result": {
5 "status": "acknowledged",
6 "operation_id": 1
7 }
8}