Run Dry Run on Identity
Execute a policy dry run against a specific identity to preview actions without performing them
Endpoint
POST /api/private/lifecycle_management/policies/{policy_id}/identities/{identity_id}:dry_runDescription
Execute a policy dry run against a specific identity to preview what actions would be taken without actually performing them. This is essential for testing policy configurations, validating conditions, and understanding policy behavior before activation.
Use this endpoint to:
Test new policies before activating them
Validate policy changes against specific users
Debug why policies are or aren't executing for certain identities
Demonstrate policy behavior to stakeholders
Ensure policy changes won't have unintended consequences
API Reference
Bearer token authentication using a Veza Personal API key.
Header Format: Authorization: Bearer <your-api-key>
Creating an API Key:
- Log into your Veza tenant
- Navigate to Administration โ API Keys
- Generate a new API key and save the value securely
OK
Default error response
Request Examples
Response
Bearer token authentication using a Veza Personal API key.
Header Format: Authorization: Bearer <your-api-key>
Creating an API Key:
- Log into your Veza tenant
- Navigate to Administration โ API Keys
- Generate a new API key and save the value securely
OK
Default error response
Example Response
Response Fields
workflows_matched
Array of workflow names that matched the dry run criteria
job_requests
Array of job request objects that would be created
messages
Array of informational messages about the dry run execution
access_profile_ids
Array of access profile IDs that were found in the dry run
Last updated
Was this helpful?
