Skip to main content

cancelAllSoftwareRequestsForMachineName

You can use the cancelAllSoftwareRequestsForMachineName web method to cancel all software requests for a specified machine and, optionally, all previously completed requests. You can also specify whether to send email notifications about the cancellation.

Parameters

The cancelAllSoftwareRequestsForMachineName web method includes the following parameters:

#ParametersData TypeDescription
strMachineNameStringThe name of the group to remove inventory rules from.
bDoNotificationsBooleanWhether to generate cancel email notifications
bCancelCompletedBooleanWhether to cancel completed (installed) items.

Return Value

Returns one of the following values:

  • Returns a 1 for success
  • Returns a -1 for error