Skip to main content
PATCH
Update Variable By Name

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 string length: 255
Example:

"my_variable"

value

The value of the variable

Example:

"my-value"

tags
string[] | null

A list of variable tags

Example:

Response

Successful Response