Actions43
- Application Rule Actions
- Computer Actions
- Device Rule Actions
- Drive Rule Actions
- Entity Actions
- Group Actions
- Manage Schema Extension Actions
Application Rule → Create Rules
AI-generatedSummary
Create new application rules within a specified policy configuration in DriveLock by providing the policy ID, optional version (defaulting to latest), and an array of rules formatted as JSON.
Inputs
- Config ID (required) — The unique identifier of the policy to which the application rules will be added.
- Config Version — The version of the policy to update; use 0 to target the latest version.
- Rules (required) — A JSON-formatted array containing the application rules to create.
Output shape
a single response object containing the server response data about the created rules
The API responds with the details of the created rules. The response is extracted from the API response's data field. The user must ensure the 'Rules' input is properly structured JSON. If 'Config Version' is 0, the latest policy version is used by default.
Examples
Example 1: Create new application rules in a policy, specifying the policy ID 'abc123' with the latest version, and a JSON array of rules
Set 'Config ID' to 'abc123', 'Config Version' to 0 (or leave default), and 'Rules' to the JSON array describing the rules to add.