コンテンツにスキップ

Reset monitor statistics

DELETE
/api/v1/monitors/{id}/stats

Delete monitor_daily_stats records for a monitor. Requires paid plan (Pro+).

id
required
string
before
string format: date

Delete stats before this date (YYYY-MM-DD). Omit for all time.

Stats reset successfully

object
ok
boolean
deletedCount

削除した日次 stats の行数

integer

Free plan - upgrade required

Monitor not found