# Rename project scenario `PUT` `/api/v1/carve/projects/{project_id}/scenarios/{scenario_id}` Update the display name of a scenario. Both the scenario record and any result column headers in the downloaded CSV are updated atomically. Renaming a scenario that has been executed does not affect its results or conversation history. Returns 400 if a scenario with the requested name already exists in the project. If the project is currently open in the browser, refresh the page to see the updated name. ## Path parameters | Name | Type | Required | Description | |------|------|----------|-------------| | project_id | string | yes | — | | scenario_id | string | yes | — | ## Request body `application/json` | Field | Type | Required | Description | |-------|------|----------|-------------| | name | string | yes | New name for the scenario. | ## Response `200 OK` — `application/json` | Field | Type | Description | |-------|------|-------------| | scenario_id | string | — | | project_id | string | — | | name | string | — | | message | string | — | ## Errors | Status | Description | |--------|-------------| | 400 | Bad Request | | 403 | Forbidden | | 404 | Not Found | | 502 | Bad Gateway |