Merge pull request #9433 from Icinga/bugfix/schedule-downtime-docs-duration

Docs: remove duration from schedule-downtime example
This commit is contained in:
Alexander Aleksandrovič Klimov 2022-08-16 16:05:53 +02:00 committed by GitHub
commit 7d64fbf8f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1393,7 +1393,7 @@ Example for scheduling a downtime for all `ping4` services:
```bash
curl -k -s -S -i -u root:icinga -H 'Accept: application/json' \
-X POST 'https://localhost:5665/v1/actions/schedule-downtime' \
-d '{ "type": "Service", "filter": "service.name==\"ping4\"", "start_time": 1446388806, "end_time": 1446389806, "duration": 1000, "author": "icingaadmin", "comment": "IPv4 network maintenance", "pretty": true }'
-d '{ "type": "Service", "filter": "service.name==\"ping4\"", "start_time": 1446388806, "end_time": 1446389806, "author": "icingaadmin", "comment": "IPv4 network maintenance", "pretty": true }'
```
```json