---
title: "update pipeline context value"
method: PUT
path: "/api/v1/projects/{projectName}/pipelines/{pipelineName}/contexts/{contextName}"
tags: ["pipeline"]
---

# update pipeline context value

`PUT /api/v1/projects/{projectName}/pipelines/{pipelineName}/contexts/{contextName}`

## Path parameters

- `projectName` string, required
- `pipelineName` string, required
- `contextName` string, required

## Request body

- V1UpdateContextValuesRequest
  - `values` ModelValue[], required
    - `key` string, required
    - `value` string, required

## Response `200`

OK

- V1Context
  - `name` string, required
  - `values` ModelValue[], required
    - `key` string, required
    - `value` string, required

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/kubevela/apis/kubevela-api-doc.md) · [All operations](https://skmtc.dev/kubevela/apis/kubevela-api-doc/llms.txt) · [OpenAPI document](https://skmtc.dev/kubevela/apis/kubevela-api-doc/revisions/8e41615b25d5?raw)
