DeleteIndex is used to remove an index from a database.
{CODE-BLOCK:json}
curl
http://{serverName}/databases/{databaseName}/indexes/{indexName}
-X DELETE
{CODE-BLOCK/}
Query parameter | Required | Description |
---|---|---|
indexName | Yes | name of an index to delete |
Status code | Description |
---|---|
204 |
No content |
Delete index Orders/Totals
.
{CODE-BLOCK:json} curl -X DELETE "http://localhost:8080/databases/NorthWind/indexes/Orders/Totals" < HTTP/1.1 204 No Content {CODE-BLOCK/}