I'm trying to import a list of variables in to Restorepoint via the API "/policies/variables/import" with ansible but as of now I have no luck. Does anyone have an example (can be with Curl or another language) about the right syntax?
Regards,
Michael
Best answer by MGB
Hello,
Sending me back to the documentation is not very helpful since I asked for an example. In the meantime I have figured out the solution and want to share with the community.
The team suggests you refer to this section of the API documentation. It should help you when trying to import the policy variables. Please let us know if we can be of further assistance.
Thank you,
Jude
(In case the above link does not work for you, here is the full URL: https://docs.sciencelogic.com/restorepoint/api/5-6/api.html#operation/import_policy_variables)
Sending me back to the documentation is not very helpful since I asked for an example. In the meantime I have figured out the solution and want to share with the community.