DriveLock API icon

DriveLock API

Consume DriveLock API

Drive Rule → Get Rules

AI-generated

Summary

Retrieve drive control rules from a specified DriveLock policy configuration.

Inputs

  • Config ID (required) — The unique identifier of the DriveLock policy configuration to query.
  • Config Version — The version number of the DriveLock policy configuration. Use 0 to retrieve the latest version.

Output shape

a list of drive control rules objects corresponding to the specified policy configuration and version

Returns the rules as found in the DriveLock API response under the 'data' property. If configVersion is not greater than 0, the latest version is fetched. No pagination is indicated, so all available rules for the configuration/version are returned.

Links

Discussion