Sign in

Update check

documented

Update an existing uptime check.

PATCH /api/v1/checks/{check_id}/Checksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.freshping.io/api/v1/checks/{{$check_id}}/" \
  -X PATCH \
  -u "{{FRESHPING_API_KEY}}:{{FRESHPING_SUBDOMAIN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "alert_note": "{{$alert_note}}", "location": "{{$location}}", "alert_users": {{$alert_users}}, "alert_contacts": {{$alert_contacts}}, "monitoring_interval": {{$monitoring_interval}}, "url": "{{$url}}", "request_timeout": {{$request_timeout}}, "basic_auth_username": "{{$basic_auth_username}}", "basic_auth_password": "{{$basic_auth_password}}", "custom_header": {{$custom_header}}, "command_string": "{{$command_string}}", "success_string": "{{$success_string}}", "error_string": "{{$error_string}}"}'"