DriveLock API icon

DriveLock API

Consume DriveLock API

Device Rule → Get Rules

AI-generated

Summary

Retrieve a list of device control rules associated with a specific DriveLock policy configuration.

Inputs

  • Config ID (required) — The identifier of the DriveLock device control policy configuration whose rules are to be fetched.
  • Config Version — The version number of the configuration to retrieve. Use 0 to fetch the latest version (default).

Output shape

a list of device control rules in JSON format

The operation returns the device control rules from the specified policy configuration. If 'Config Version' is set to 0 or omitted, the latest version of the configuration rules is returned.

Examples

Example 1: Get device rules for a specific policy configuration

Provide the Config ID of the target device control policy and optionally the Config Version if a specific version is desired. The operation then returns all device control rules associated with that policy.

Links

Discussion