Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
##########################################
# CLOSE ALERT
##########################################
# Set the OpsGenie Alert API URL
URL="https://api.opsgenie.com/v2/alerts"
# Pass in Alert Alias from Create Alert step to close
curl -X POST "${URL}/${ALIAS}/close?identifierType=alias" -H "Content-Type: application/json" -H "Authorization: GenieKey ${secrets.getValue("ops-genie-token")}" -d '{"user":"Harness", "source":"Harness","note":"Action Executed after successful rollback"}'