Re: [icinga-users] Problem remove downtime of one service via API

2017-02-01 Thread Gerald Vogt
Check the documentation: https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/icinga2-api#icinga2-api-actions-remove-downtime A GET won't work. You have to send a POST including the accept header... -Gerald On 01/02/2017 12:15, Christian Moreno Moreno wrote: Hi! I tried to delet

[icinga-users] Problem remove downtime of one service via API

2017-02-01 Thread Christian Moreno Moreno
Hi! I tried to delete one downtime (only one of the services and not all services from the host) but I get the next error: curl -k -s -H 'Accept: application/json' --cert downtimes_user.crt --key downtimes_user.key ' https://icinga-01.xxx:5665/v1/actions/remove-downtime?downtime=bx46.xxx!ping4' |