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
  • URL: https://api.connic.co/v1/projects/{project_id}/runs/bulk-delete
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

Query parameters

environment_idstring uuid required

Environment the selected runs belong to.

Request body

run_idsstring[] required

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

Response

Successful Response

okboolean required

Whether the operation succeeded.

deleted_countinteger required

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

Changes

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