DriveLock API icon

DriveLock API

Consume DriveLock API

Device Rule → Update Rules

AI-generated

Summary

Update device control rules in a specified DriveLock configuration and version by submitting a JSON array of rules or collections.

Inputs

  • Config ID (required) — ID of the DriveLock configuration to update device rules for.
  • Config Version — Version number of the configuration; 0 indicates the latest version.
  • Rules/Collections (required) — JSON array representing the device control rules or collections to update.

Output shape

an object containing the API response data about the update operation

The API request uses PATCH method to update rules. The response contains details of the update; no pagination applies.

Examples

Example 1: Updating device rules for a specific configuration to modify access permissions on devices

Set 'Config ID' to target policy, optionally specify 'Config Version', and supply 'Rules/Collections' JSON array with updated rule definitions.

Links

Discussion