---
title: "Update state variable"
method: PUT
path: "/pipeline/state-variable/{state_variable_id}"
tags: ["Incident Mode"]
---

# Update state variable

`PUT /pipeline/state-variable/{state_variable_id}`

Edits an existing state variable

## Path parameters

- `state_variable_id` string, uuid, required

## Request body

- object
  - `pipeline_id` string, uuid, required
  - `state` object, required

## Response `200`

Default Response

---

[API](https://skmtc.net/mezmo/apis/pipeline-api.md) · [All operations](https://skmtc.net/mezmo/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mezmo/pipeline-api/versions/fb2535545d90/schema)
