Workflow secrets and variables

Replaces the entry's value in place. Name, place, and the secret flag are unchanged.

patch/workflows/config/{id}

Request

  • Base URL
    https://api.nullplatform.com
  • URL
    https://api.nullplatform.com/workflows/config/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The config entry id (cfg_...).

Request body

valuestring required

Response

The value was rotated.

idstring required
namestring required

Referenced in definitions as ${{ secrets.NAME }} or ${{ vars.NAME }}.

secretboolean required

Immutable. true makes the value write-only and redacted everywhere.

pathstring

Folder place (/ is the organization root). Present when the entry lives on a folder.

workflowstring

Workflow reference. Present when the entry lives on one workflow.

valuestring nullable

Only returned for non-secret entries.

effectiveboolean

Only with ancestors=true: whether this row wins precedence for its name.

mode'created' | 'updated'

Write responses only: whether the entry was created or its value rotated.

createdBystring
createdAtstring date-time required
updatedAtstring date-time required

Example response

{
  "id": "cfg_2b9d1f0a",
  "name": "NP_API_KEY",
  "path": "/action-items"
}

Changes