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

Posibility to remove downtimes by ID #1211

Open
savv3 opened this issue Nov 14, 2022 · 0 comments
Open

Posibility to remove downtimes by ID #1211

savv3 opened this issue Nov 14, 2022 · 0 comments

Comments

@savv3
Copy link

savv3 commented Nov 14, 2022

Scheduling downtime through Thruk API works like a charm but removing said downtime is unnecessarily hard. Currently option is to delete downtime by hostname or service name. (As far as I could find. Maybe I missed something)

[GET] /r/downtimes/ gives very nice list of all scheduled downtimes.
And [GET] /r/downtimes/[id] gives exact info for that particular downtime

Suggestion would be to add DELETE to /r/downtimes/[id] so we could easily loop over all IDs and delete them.

Full downtime list could be sorted with json filter tools and would give an exact list of IDs to delete if you don't want to delete everything.

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

1 participant