---
title: "Delete an existing scenario"
method: DELETE
path: "/scenarios/{app_id}/"
tags: ["scenarios"]
---

# Delete an existing scenario

`DELETE /scenarios/{app_id}/`

Delete an existing scenario.

## Path parameters

- `app_id` string, required — The ID of the app whose data you want to operate on.

## Query parameters

- `name` string, required — The name of the scenario you want to download.
- `owner` string, nullable — The owner of the scenario you want to download (by default, the logged in user).

## Response `200`

Successful Response

- unknown

## Other responses

- `201` — Scenario successfully deleted
- `401` — Unauthorized
- `403` — Forbidden
- `404` — A scenario with this name does not exist
- `422` — Validation Error
- `423` — The scenario is locked and cannot be deleted
- `500` — Internal Server Error

## Changes

- **2026-06-30** `358e5609409b` — 1 info
  - api operation id `delete_scenario` removed and replaced with `delete_scenario_scenarios__app_id___delete`
- **2026-02-24** `2ac7baf8418f` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2023-08-15** `6befde16ec1c` — 2 info
  - `query` request parameter `owner` list-of-types was widened by adding types `null`
  - for the `query` request parameter `owner`, the type/format was generalized from `string`/`` to ``/``
- **2022-12-22** `5366dfd18e83` — 1 breaking
  - response property `detail/items/loc/items/` list-of-types was widened by adding types `integer` to media type `application/json` of response `422`
- **2022-06-16** `331d92523899` — 1 breaking
  - for the `query` request parameter `name`, the maxLength was decreased from `64` to `63`

[Full history](https://skmtc.dev/gams-dev/apis/miro-server-api/changes/scenarios/:app_id/delete.md)

---

[API](https://skmtc.dev/gams-dev/apis/miro-server-api.md) · [All operations](https://skmtc.dev/gams-dev/apis/miro-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gams-dev/miro-server-api/revisions/358e5609409b/schema)
