PATCH
/
api
/
variables
/
name
/
{name}
This response does not have an example.

Headers

x-prefect-api-version
string

Path Parameters

name
string
required

Body

application/json

Data used by the Prefect REST API to update a Variable.

name
string | null

The name of the variable

Maximum length: 255
Example:

"my-variable"

value

The value of the variable

Example:

"my-value"

tags
string[] | null

A list of variable tags

Example:
["tag-1", "tag-2"]

Response

204
_mintlify/placeholder

Successful Response