Deletes one of your Opensolr Indexes: its data, its configuration files and its schedules (crawl, backup, optimize).
Endpoint
https://opensolr.com/solr_manager/api/delete_index (delete_core is the same call)MethodGET or POST
Auth
email and api_key of your account, as GET or POST parameters: Authentication.In the panelDelete an index
There is no undo. Make a backup and download it first if you may need the data:
create_backup.01 · Parameters
index_nameRequiredThe name of the index (core_name works too, with both endpoint names).
02 · Example
curl -s "https://opensolr.com/solr_manager/api/delete_index?email=YOUR_EMAIL&api_key=YOUR_API_KEY&index_name=my_index"
03 · Answer
{ "status": true, "msg": "DELETED_OK" }
On a cluster master, every replica index is deleted first, then the master.
04 · Errors
ERROR_INVALID_CORE_NAMEHTTP 200No index name.
ERROR_USER_IS_NOT_OWNERHTTP 200The index is not yours.
ERROR_AUTHENTICATION_FAILEDHTTP 403The email and API key do not match.
ERROR_RATE_LIMIT_PER_MINUTEHTTP 429Too many calls. Wait for the Retry-After seconds: Rate limits.
05 · Related
Empty the index but keep it: reset_index.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.