Skip to main content

Set a secret or variable

POST 

/workflows/config

Creates a secret or variable, or rotates its value if it already exists at that place. Safe to call repeatedly.

  • The place is exactly one of path (a folder, / for the whole organization) or workflow (one workflow).
  • Writing a name that already exists at that place replaces its value; workflows referencing it pick the new value up on their next run.
  • The name and the secret flag are immutable: to change them, delete the entry and recreate it.

Request

Responses

The entry already existed; its value was rotated.