---
title: "Update Scenario"
method: PUT
path: "/api/v1/scenarios/{scenario_id}"
tags: ["Scenarios"]
---

# Update Scenario

`PUT /api/v1/scenarios/{scenario_id}`

Update scenario.

## Path parameters

- `scenario_id` integer, required

## Request body

- ScenarioUpdate
  - `scenario_name` string, required

## Response `200`

Successful Response

- Scenario
  - `id` integer
  - `scenario_name` string, required
  - `routing_heatmap_computed` boolean
  - `creation_date` string, date-time
  - `user_id` integer
  - `data_upload_ids` integer[]
  - `study_area_id` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/plan4better/apis/goat.md) · [All operations](https://skmtc.net/plan4better/apis/goat/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/plan4better/goat/revisions/931df3e5ac48/schema)
