@Luis Plaza I was actually going to respond to your message on the linked post but it appears to be deleted now.
I simplified the bash download.sh script a little since I'm only experimenting with this and I have the Cloud ID hardcoded into the curl get request to export the automation rules.
I the original thread (which was moved) bookmarked to return to later and was disappointed to see today that it has been deleted. Thanks for sharing your script @Chris McCullough so that I'm not totally empty handed by not having access to the original script from @Luis Plaza.
Do you happen to have a link to the API documentation for the API endpoint you are using to download the rule definition? There may not be any since it appears to be an internal API.
I am getting back an HTTP 401 Unauthorized error instead of a 403 myself, this was using the eight digit automation rule ID where you show (REDACTED_CLOUD_ID) so maybe I'm not using the right value there.
2 comments