DriveLock API icon

DriveLock API

Consume DriveLock API

Device Rule → Delete Rules

AI-generated

Summary

Delete specified device control rules within a given configuration in the DriveLock policy system.

Inputs

  • Config ID (required) — The unique identifier of the device control configuration containing the rules to delete.
  • Config Version — The version number of the device control configuration (use 0 for the latest version).
  • Rule IDs (required) — Comma-separated list of IDs of the device rules to delete from the configuration.

Output shape

An object indicating the success status and details of the deletion operation.

The operation sends a DELETE request with the configId, configVersion (optional), and an array of rule IDs parsed from the comma-separated input. The response data is extracted and returned; handle errors as per the DriveLock API conventions.

Links

Discussion