Execute actions in an action set

Execute actions in an action set. See Using Global API Keys for more information on permission and scope requirements.

SecuritybearerAuth
Request
path Parameters
orgID
required
integer

The organization ID of the target organization.

Example: 12345
actionSetID
required
integer

The ID of the action set.

Example: 67890
Request Body schema: application/json
required

The actions to be executed

required
Array of objects
Array
action
required
string

The actions to be executed

Enum: "patch-now" "patch-with-worklet"
solutionId
required
integer
devices
required
Array of integers
workletId
integer
Responses
202

Accepted

4XX

Invalid Request

post/orgs/{orgID}/remediations/action-sets/{actionSetID}/actions
Request samples
application/json
{
  • "summary": "Execute actions request example",
  • "description": "Example request for executing patch actions on multiple devices with different solution types",
  • "value": {
    • "actions": [
      • {
        • "solutionId": 965897,
        • "devices": [
          • 101452,
          • 134726
          ],
        • "action": "patch-now",
        • "workletId": 325416
        },
      • {
        • "solutionId": 452781,
        • "devices": [
          • 121452,
          • 948756
          ],
        • "action": "patch-with-worklet",
        • "workletId": 215436
        }
      ]
    }
}
Response samples
application/json
{
  • "errors": [
    • "string"
    ]
}