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) orworkflow(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
nameand thesecretflag are immutable: to change them, delete the entry and recreate it.
Request
Responses
- 200
- 201
- 4XX
- 5XX
The entry already existed; its value was rotated.
The entry was created.
Client error, as plain JSON.
Unexpected server error.