Remove one run from the history
delete_site_cron_run
Hides one run from the scheduled job history of a site.
Scopeconfig:writeDestructive
Use it when a stored run holds a response body somebody does not want kept. The row is flagged deleted rather than erased, and it leaves the database on its own 30 days after the run, so this stops the body being read back rather than wiping it. It changes the record only, and whatever the run itself did stands. See Scheduled jobs.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |
runId |
string | Yes | The run id from list_site_cron_runs. |