curl SITE_ROOT/api/v1/checks/ \
|
|
--header "X-Api-Key: your-api-key" \
|
|
--data '{"name": "Backups", "tags": "prod www", "timeout": 3600, "grace": 60}'
|
|
|
|
# Or, alternatively:
|
|
curl SITE_ROOT/api/v1/checks/ \
|
|
--data '{"api_key": "your-api-key", "name": "Backups", "tags": "prod www", "timeout": 3600, "grace": 60}'
|