Thanks for that! Your script is very similar to my script, which essentially does the curl command with the same options, except I'm using port 443 and not 8443. I tried with a new API key/secret from the root account to rule out permission issues, but still I get "Endpoint not found" when trying that curl command.
Is there a configuration somewhere (or a plugin) that is required for this to work? I'm starting to get the impression my instance might be misconfigured, but I'm not sure how.
Code Select
/usr/bin/curl -s -k -u $KEY:$SECRET https://192.168.0.1:443/api/backup/backup/download
{"errorMessage":"Endpoint not found"}
Is there a configuration somewhere (or a plugin) that is required for this to work? I'm starting to get the impression my instance might be misconfigured, but I'm not sure how.