Workflow secrets and variables
Set a secret or variable
Changed onCreates 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.
post/workflows/config
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/workflows/config
- AuthHTTP bearer
Request body
Example request
{
"name": "JIRA_TOKEN",
"secret": true,
"path": "/action-items"
}Response
The entry already existed; its value was rotated.
Example response
{
"id": "cfg_2b9d1f0a",
"name": "NP_API_KEY",
"path": "/action-items"
}Changes
- info
endpoint added
- info