/ delete,
/ indexDelete an index # Deletes an existing index under a collectioin.
Examples # The following request deletes the index called my-index under collection my-namespace:my-collection
DELETE /my-namespace:my-collection/_index/my_index Request # DELETE /<target>/_index/<name> Path parameters # <target>
(Required, string) The collection which the index will be removed from.
<name>
(Required, string) Name of the index you wish to delete.
/ delete,
/ collectionDelete a collection # Delete a exists collection.
Examples # The following request deletes the collection called my-collection:
DELETE my-collection Request # PUT /[<namespace>:]<name> Path Parameters # <namespace>
(Optional, string) The namespace which the collection belongs to. <name>
(Required, string) Name of the collection you wish to create.
/ delete,
/ namespaceDelete a namespace # Delete a exists namespace.
Examples # The following request delete the namespace called website:
DELETE /_namespace/website Request # DELETE /_namespace/<name> Path parameters # <name>
(Optional, string) The name of the namespace that you want to delete.
/ delete,
/ indexDelete a document # Delete a specific document from the specified collection by specifying its unique identifier.
Examples # Delete the document 0,0 from collection my-collection:
DELETE /my-collection/_doc/0,0 The API returns the following result:
{ "_id": "0,0", "result": "deleted", ... } Request # DELETE /<target>/_doc/<doc_id> Path parameters # <target>
(Required, string) Name of the collection to target. <doc_id>
(Required, string) Unique identifier for the document, support both _key or _id.
...