Hi All, I'm trying to disable the newrelic monitoring using the curl command but failing.
Used the basic shell, command and with_items modules which failed with the unbalanced quotes. Tried URI module as well but not working. Any help is appreciated. Curl command : curl -v -X PUT -H 'X-Api-Key:XXXXXXXXXXXXXXXX14e' -H 'Content-Type: application/json' https://synthetics.newrelic.com/synthetics/api/v3/monitors/ggfiufiuifudyxxxxxx -d '{ "name" : "MyAdmin Login", "type": "SCRIPT_BROWSER", "frequency" : 10, "uri" : "https://synthetics.newrelic.com/accounts/000000/monitors/00000000-xxxxxxxx-00000000", "locations" : [ "XXXXXXX-corp_my_10net-000" ], "status" : "DISABLED", "slaThreshold": "7.0" }' -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6a9a0b15-c3ff-4c74-84e0-25ba840c112a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
