API - Remove IP access

Security

Removes one IP rule from your Opensolr Index.

Endpointhttps://opensolr.com/solr_manager/api/delete_ip
MethodGET
Authemail and api_key of your account, as GET or POST parameters: Authentication.
In the panelIP restriction

01 · Parameters

core_nameRequired

The name of your index.

ipRequired

The address of the rule, or all.

handlerRequired

The 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 200

ip is not an IPv4 address or all, or the index is not yours.

ERROR_AUTHENTICATION_FAILEDHTTP 403

The email and API key do not match.

ERROR_RATE_LIMIT_PER_MINUTEHTTP 429

Too 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.