POST
/
api
/
variables
/

Headers

x-prefect-api-version
string

Body

application/json

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

name
string
required

The name of the variable

value
required

The value of the variable

tags
string[]

A list of variable tags

Response

201 - application/json
name
string
required

The name of the variable

value
required

The value of the variable

id
string
created
string | null
updated
string | null
tags
string[]

A list of variable tags