Documentation > API-Security > Add IP access rule for a SOLR core

Add IP access rule for a Solr Index

  1. GET https://opensolr.com/solr_manager/api/add_ip
  2. Parameters:
    1. ​email - your opensolr registration email address
    2. api_key - your opensolr api_key
    3. core_name - the name of the core you wish to add an IP rule to
    4. ip - the IP address you wish to grant access
    5. handler - the SOLR URI handler that the restriction will be applied to
  3. Example: https://opensolr.com/solr_manager/api/add_ip?email=PLEASE_LOG_IN&
    api_key=PLEASE_LOG_IN&core_name=my_solr_core&ip=15.24.53.123&handler=/update