setVariable
Create or update environment variables in PingOne Advanced Identity Cloud to store configuration values like strings, arrays, objects, booleans, integers, numbers, or lists for identity management workflows.
Instructions
Create or update an environment variable (ESV) in PingOne AIC
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variableId | Yes | Variable ID (format: esv-*) | |
| value | No | Variable value as native type (NOT JSON string). Examples: string: 'hello', array: ['a','b'], object: {"key":"val"}, bool: true, int: 42, number: 3.14, list: 'a,b,c'. The tool handles JSON serialization internally for array/object types. | |
| type | Yes | The variable type. Determines how the value is interpreted. Note: Type cannot be changed after creation. Ping recommends using 'array' instead of 'list'. | |
| description | No | Optional description of the variable's purpose |