Sign in

Disable log (uptime/logs)

documented

Disable logging for a log (used to pause error collection during deployments, etc.).

POST /v3/logs/{log_id}/_disableUptime Monitoring / Logs (as applicable via API)no 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.elmah.io/v3/logs/{{$log_id}}/_disable?api_key={{ELMAH_API_KEY}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{\"reason\": \"{{$reason}}\"}'