DriveLock API icon

DriveLock API

Consume DriveLock API

Application Rule → Delete Rules

AI-generated

Summary

Delete specified application rules from a DriveLock policy configuration by providing the policy's Config ID and an optional version. Accepts a comma-separated list of rule IDs to identify which rules to delete.

Inputs

  • Config ID (required) — The policy ID to identify the DriveLock policy from which rules will be deleted.
  • Config Version — The version of the policy to target. Use 0 to indicate the latest version.
  • Rule IDs (required) — Comma-separated list of rule IDs specifying which application rules to delete.

Output shape

an object indicating success and response details from the deletion request

The API responds with extracted data indicating success or failure. Errors are thrown if parameters are invalid or if operation fails.

Examples

Example 1: Delete application rules with specific IDs from the latest version of a policy

Set 'Config ID' to the targeted policy ID, leave 'Config Version' as 0 for latest, and provide comma-separated 'Rule IDs' to delete.

Links

Discussion