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

Maximum length: 255
value
required

The value of the variable

tags
string[]

A list of variable tags

Response

201 - application/json
id
string
required
created
string | null
required
updated
string | null
required
name
string
required

The name of the variable

Maximum length: 255
value
required

The value of the variable

tags
string[]

A list of variable tags