DriveLock API icon

DriveLock API

Consume DriveLock API

Device Rule → Get Collections

AI-generated

Summary

Retrieve device collections from a specified DriveLock configuration by providing its Config ID and an optional Config Version.

Inputs

  • Config ID (required) — The identifier of the DriveLock configuration to fetch device collections from.
  • Config Version — The specific version of the configuration to query; defaults to 0 (latest version).

Output shape

object containing the device collections associated with the specified configuration.

The response contains the collections data from the DriveLock API under the specified configuration ID and version. If the config version is 0 or omitted, the latest version is used.

Examples

Example 1: Get device collections for a given configuration

Set Config ID to the desired policy ID, optionally specify Config Version as 0 or the targeted version number, and execute the operation to retrieve the collections.

Links

Discussion