Variables
Create Variable
post/api/variables/
Headers
x-prefect-api-versionstring
Request body
Example request
{
"name": "my-variable",
"value": "my-value",
"tags": [
"tag-1",
"tag-2"
]
}Response
Successful Response
Example response
{
"name": "my-variable",
"value": "my-value",
"tags": [
"tag-1",
"tag-2"
]
}Changes
Changed in 1 of the 50 revisions of this API.2
- ▲
the request property
namebecame requiredrequest-property-became-required
- ▲
the request property
valuebecame requiredrequest-property-became-required
- ▲