Deallocate Jobs

Overview

Removes resource allocations from jobs

Category: Allocations

Use this action to remove resource allocations from jobs. Deletes all allocation records matching the given resources and jobs. Returns an error if no matching allocations are found.

Request

Parameter Type Required Description Example
jobIds array of string Yes The IDs of the jobs to deallocate from
Min items: 1
["0014ccb7-73ad-40e1-9282-2c492a0f313a"]
resourceIds array of string Yes The IDs of the resources to deallocate
Min items: 1
["00148d32-10ef-4264-adfe-0ff3ece68d92"]

Response

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

Field Type Description
result.data.deallocatedCount integer The number of allocations deleted

Example output:

{
  "deallocatedCount": 2
}