Add a new action to an existing policy's configuration. Actions define what operations the policy performs when all conditions are met. Multiple actions can be executed in sequence or parallel depending on the action type and dependencies.
New actions are immediately active for policies in the active state. Actions execute in the order they were added to the policy.
API Reference
post
Authorizations
AuthorizationstringRequired
Veza API key for authentication.
Generate keys in Administration > API Keys.
Name of the condition within the workflow to add the action to
action
object
Yes
Action object to add
Action Object Fields
Field
Type
Required
Description
name
string
Yes
Name of the action
description
string
No
Description of the action
type
string
Yes
Action type (see ActionType enum values)
config
object
Yes
Configuration specific to the action type
conditions_on_success
array[object]
No
Conditions to run after successful action execution
action_notification_settings
array[object]
No
Notification settings for this action
state
string
No
Action state: ENABLED, DISABLED
run_once
boolean
No
Whether this action should only run once per identity
Response Examples
Action Configuration
Actions in Veza Lifecycle Management support various operation types. The config field contains action-specific configuration parameters that vary based on the action type. Common action types include:
SYNC_IDENTITIES - Synchronize identity information