Variables
Create Variable
Changed onpost/api/variables/
Request
- The document declares no server URL.
- Authnone declared
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
- breaking
the request property
became required - breaking
the request property
became required
- breaking