Soft-delete a run
Requires scope `runs:delete`. Also cancels the uploads that were requested for the run's files: they go back to `detected` and leave the watcher's upload queue. Restoring the run doesn't bring the requests back.
Requires scope runs:delete. Also cancels the uploads that were requested for the run's files: they go back to detected and leave the watcher's upload queue. Restoring the run doesn't bring the requests back.
Authorization
bearerAuth Personal access tokens begin with dhub_… and are restricted by their assigned scopes.
In: header
Path Parameters
The run ID. Spaces at the start or end are ignored.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/instruments/plate-reader/runs/run-2026-001"{ "instrument_id": "string", "run_id": "string", "deleted_at": "2019-08-24T14:15:22Z", "deleted_by": "string", "deleted_by_token": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "already_applied": true}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}Update a run PATCH
Requires scope `runs:update`. PAT only; browser sessions are rejected. Returns 409 (`details.reason: run_deleted`) when the run was deleted. Restore it first.
Restore a run POST
Requires scope `runs:delete`. Doesn't bring back the upload requests that deleting the run cancelled. Request the uploads again.