Variables
Variables
Delete a variable
DELETE
Delete a variable or secret; workflow steps referencing it no longer resolve it.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
workflows_variable_id*stringThe variable.
Format
uuidregion*RegionsRegion of the resource: besg (Europe) or usnv (United States), as GET /v1/regions lists them
Value in
"besg""usnv"OK
application/json- response
variable_id*Variable Idvariable_name*Variable Namecurl -X DELETE 'https://api.stacksync.com/v1/workspaces/0/variables/497f6eca-6276-4993-bfeb-53cbbbba6f08?region=besg'{ "variable_id": "<variable_id>", "variable_name": "<variable_name>"}PATCHUpdate a variable
Change a variable's name, description, value or value type, or turn it into a secret (for good). Only the fields sent change. A secret's value is never read back: to change its type, send its value too.
GETList the resources in a folder
What the folder holds, sub-folders included. `limit` and `offset` apply to each resource type.