Lock/Unlock Jobs

Overview

Locks or unlocks one or more jobs

Category: Work Management

Use this action to lock or unlock one or more jobs. Locked jobs cannot be edited or have their schedule changed.

Request

Parameter Type Required Description Example
ids array of string Yes Job UIDs to lock or unlock
Min items: 1
["0014ccb7-73ad-40e1-9282-2c492a0f313a"]
locked boolean Yes true to lock (prevent editing), false to unlock true

Response

This action’s output is available as $lockJobs in JSONata expressions. See Response format for the standard result.data / result.errors structure and error handling patterns.

Field Type Description
result.data.uid1, result.data.uid2, … string UIDs of the affected records

Example output:

{
  "uid1": "0014ccb7-73ad-40e1-9282-2c492a0f313a",
  "uid2": "00148d32-10ef-4264-adfe-0ff3ece68d92"
}