---
title: "Delete run"
method: DELETE
path: "/run/{id}"
tags: ["run"]
---

# Delete run

`DELETE /run/{id}`

Deletes a run. Upon success, it returns the ID of the deleted run.

## Path parameters

- `id` number, required

## Query parameters

- `api_key` string, required

## Response `200`

ID of the deleted run

- object
  - `data_delete` InlineResponse20017DataDelete
    - `id` string — ID of the deleted run, a positive integer

## Other responses

- `412` — Precondition failed. An error code and message are returned. 390 - Please provide API key. In order to remove your content, please authenticate. 391 - Authentication failed. The API key was not valid. Please try to login again, or contact api administrators 392 - Run does not exists. The run ID could not be linked to an existing run. 393 - Run is not owned by you. The run was owned by another user. Hence you cannot delete it. 394 - Deleting run failed. Deleting the run failed. Please contact support team.

---

[API](https://skmtc.net/openml/apis/openml-api.md) · [All operations](https://skmtc.net/openml/apis/openml-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openml/openml-api/versions/263d3d6ee586/schema)
