Updating the hashes of a specific site
There is an API for updating all the hashes of a specified site.
On the command line, run:
curl https://127.0.0.1:15067/clapi/v3/api/server-admin/{siteName}/allowlist-config/hashes
-k --header "Authorization:Basic YWRtaW5pc3RyYXRvcjpQQHNzd29yZDAx" --header "X-CSRF-TOKEN:
04c0d8c5-de00-4f3c-bffb-a7ef292921ef" -b cookie.out --request PUT –v
Result:
There is “HTTP/1.1 200 OK” feedback on the command line.