---
title: "Delete Scenario Features"
method: DELETE
path: "/api/v1/scenarios/{scenario_id}/{layer_name}/features-all"
tags: ["Scenarios"]
---

# Delete Scenario Features

`DELETE /api/v1/scenarios/{scenario_id}/{layer_name}/features-all`

## Request

- The document declares no server URL.
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/login/access-token`
- TypeScript: <https://skmtc.dev/plan4better/apis/goat/docs/api/v1/scenarios/:scenario_id/:layer_name/features-all/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete all features from scenario layers. This endpoint is used to delete features in "modified" tables.

## Path parameters

- `scenario_id` integer, required: Scenario ID
- `layer_name` 'way_modified' | 'poi_modified' | 'building_modified' | 'population_modified', required: Scenario Layer Feature Delete Enums.

## Response `200`

Successful Response

- Msg
  - `msg` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/plan4better/apis/goat.md) - [All operations](https://skmtc.dev/plan4better/apis/goat/llms.txt) - [OpenAPI document](https://skmtc.dev/plan4better/apis/goat/revisions/931df3e5ac48?raw)
