Hello,
I am trying to find a REST API call to do a rolling-restart on Search Head Cluster captain so that I can schedule a curl command.
Thanks in advance,
The REST api for rolling restart of SHC is there.
it is /shcluster/captain/control/control/restart.
I don't believe any REST API endpoint is available for rolling restart (or for apply shcluster-bundle ) of search head cluster. Those should be handled via Splunk CLI commands. I've not tested, but you may be able to run a Splunk CLI on remote instance (see this https://docs.splunk.com/Documentation/Splunk/6.6.2/Admin/AccessandusetheCLIonaremoteserver#Send_CLI_...)