Sets a new username and password on your Opensolr Index. Every search and every update must then send them.
https://opensolr.com/solr_manager/api/update_http_authemail and api_key of your account, as GET or POST parameters: Authentication.01 · Parameters
core_nameRequiredThe name of your index.
usernameRequiredThe new username. Use letters and digits only.
passwordRequiredThe new password. Use letters and digits only.
02 · Example
curl -s "https://opensolr.com/solr_manager/api/update_http_auth?email=YOUR_EMAIL&api_key=YOUR_API_KEY&core_name=my_index&username=searchapp&password=NEW_PASSWORD"
03 · Answer
status is true and msg holds the answer of the server. On a cluster master, every replica gets the same credentials and replication is set up again.
04 · Errors
NOT_OWNER_ERRORHTTP 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
Remove the username and password: remove_http_auth.
Limit the addresses that may reach the index: add_ip.
Every error code and HTTP status of the API: API errors. Calls per minute and per hour: Rate limits.