runs

Delete selected runs

Deletes the content of the selected runs in one environment, as DELETE /runs/{run_id} does. Already-deleted runs are skipped. Every selected run must belong to this environment (404 otherwise); if any selected run or its background processing is unfinished, returns 409 without deleting any runs. This cannot be undone.

Required permission: runs.delete.

post/v1/projects/{project_id}/runs/bulk-delete

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

Query parameters

environment_id, string uuid required

Environment the selected runs belong to.

Request body

BulkDeleteRunDataBody required

Runs to delete.

run_ids, string[] required

IDs of the runs to delete; all must belong to environment_id.

Response

Successful Response

PublicRunDataDeleteResponse required
ok, boolean required

Whether the operation succeeded.

deleted_count, integer required

Number of runs deleted. Runs that were already deleted are not counted.

Changes

No recorded changes to this operation across all 17 revisions of this API.