You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.1 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Commands: Indexes: Delete

DeleteIndex is used to remove an index from a database.


curl \
	http://{serverName}/databases/{databaseName}/indexes/{indexName} \


Query parameter Required Description
indexName Yes name of an index to delete


Status code Description
204 No content

Example I

Delete index Orders/Totals.

curl -X DELETE "http://localhost:8080/databases/NorthWind/indexes/Orders/Totals" 
< HTTP/1.1 204 No Content