DriveLock API icon

DriveLock API

Consume DriveLock API

Application Rule → Update Rules

AI-generated

Summary

Update multiple application rules within a specified DriveLock policy configuration by providing the policy ID, optional policy version, and a JSON array of rules to update.

Inputs

  • Config ID (required) — The policy ID identifying the DriveLock policy configuration to update.
  • Config Version — The policy version to update; use 0 for the latest version.
  • Rules (required) — A JSON-formatted array containing the application rules to update.

Output shape

an object containing the status and details of updated application rules

The response typically includes the success status and any updated rule information. The 'Config Version' input defaults to 0 to target the latest policy version if not specified.

Examples

Example 1: Update application rules in a DriveLock policy

Set the 'Config ID' to the target policy ID, optionally set 'Config Version', and provide a JSON array of rules under 'Rules'. On execution, the node updates those application rules in the specified policy.

Links

Discussion