Removes one IP rule from your Opensolr Index.
Endpoint
https://opensolr.com/solr_manager/api/delete_ipMethodGET
Auth
email and api_key of your account, as GET or POST parameters: Authentication.In the panelIP restriction
01 · Parameters
core_nameRequiredThe name of your index.
ipRequiredThe address of the rule, or all.
handlerRequiredThe request handler of the rule, such as / or /select.
02 · Example
curl -s "https://opensolr.com/solr_manager/api/delete_ip?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index&ip=all&handler=/"
03 · Answer
{ "status": true, "msg": "IP_DELETED_OK" }
An index with no rules at all is not reachable from any address. Add your own rules before you remove the last one.
04 · Errors
ERROR_INVALID_IP_ADDRESS_OR_CORE_NAMEHTTP 200ip is not an IPv4 address or all, or the 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
List the rules: get_ip_list.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.