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

# Delete setup

`DELETE /setup/{id}`

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

## Path parameters

- `id` number, required

## Query parameters

- `api_key` string, required

## Response `200`

ID of the deleted setup

- object
  - `study_delete` InlineResponse20014StudyDelete
    - `id` string — ID of the deleted setup, a positive integer

## Other responses

- `412` — Precondition failed. An error code and message are returned. 401 - Authentication failed. Please provide API key. In order to remove your content, please authenticate. 402 - Setup does not exists. The setup ID could not be linked to an existing setup. 404 - Setup deletion failed. Setup is in use by other content (runs, schedules, etc). Can not be deleted. 405 - Setup deletion failed. Please try again later.

---

[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/revisions/263d3d6ee586/schema)
