Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve existing incidents #26

Closed
hanynowsky opened this issue Jan 30, 2015 · 2 comments
Closed

Resolve existing incidents #26

hanynowsky opened this issue Jan 30, 2015 · 2 comments

Comments

@hanynowsky
Copy link

How can we resolve an existing incident in pagerDuty?

@orien
Copy link
Member

orien commented Feb 2, 2015

As follows:

# Instantiate a Pagerduty with your specific service key
pagerduty = Pagerduty.new("<my-service-key>")

# Obtain the incident for given key
incident = pagerduty.get_incident("<my-unique-incident-key>")

# Resolve the incident
incident.resolve

@orien orien closed this as completed Feb 2, 2015
@hanynowsky
Copy link
Author

Thanks that works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants