---
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.

## Changes

> 14 revisions in range; 1 could not be searched.

- **2019-02-22** `8e2f718635ef` — 6 info
  - added the non-success response with the status `412`
  - removed the non-success response with the status `390`
  - removed the non-success response with the status `391`
  - removed the non-success response with the status `392`
  - …2 more
- **2018-01-17** `2209d99ea36e` — 6 info
  - added the non-success response with the status `390`
  - added the non-success response with the status `391`
  - added the non-success response with the status `392`
  - added the non-success response with the status `393`
  - …2 more

[Change history](https://skmtc.dev/openml/apis/openml-api/changes/run/:id/delete.md)

---

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