Variables
Create Variable
Create a variable.
For more information, see https://docs.prefect.io/v3/develop/variables.
POST
Headers
Body
application/json
Data used by the Prefect REST API to create a Variable.
The name of the variable
Maximum length:
255
Example:
"my-variable"
The value of the variable
Example:
"my-value"
A list of variable tags
Example:
["tag-1", "tag-2"]
Response
201
application/json
Successful Response
The name of the variable
Maximum length:
255
Example:
"my-variable"
The value of the variable
Example:
"my-value"
A list of variable tags
Example:
["tag-1", "tag-2"]
Was this page helpful?