DriveLock API icon

DriveLock API

Consume DriveLock API

Computer → Execute Actions

AI-generated

Summary

Execute specified actions on one or more DriveLock computers by their IDs, optionally notifying the agent immediately.

Inputs

  • Computer IDs (required) — Comma-separated list of computer UUIDs identifying which computers to target.
  • Actions (required) — JSON-formatted actions to execute on the specified computers, such as configuration updates with optional delay.
  • Notify Agent — Boolean flag to determine whether the DriveLock agent should be notified immediately about the actions.

Output shape

An object containing success status and additional response data from the DriveLock API after executing the actions on the specified computers.

The actions input must be a valid JSON string; errors parsing this JSON will cause execution to fail. The operation supports multiple computer IDs in a comma-separated string. The API response is extracted and returned as JSON.

Examples

Example 1: Execute a configuration update immediately on multiple computers by specifying their IDs, the actions as JSON, and setting Notify Agent to true.

Provide the computer IDs as a comma-separated string; set the actions JSON with the desired commands, e.g., { "configUpdate": { "delayInSeconds": 0 } }; set Notify Agent to true to trigger immediate notification.

Links

Discussion