createReleaseQuarantineExchangeItemTask
This method creates a new task to release items from the quarantine to their intended recipients.
Services
This method requires you to place the {service}
name in the API URL. The allowed services are:
computers
, for "Computers and Virtual Machines"
For example, the request URL for the computers
service is:
https://YOUR-HOSTNAME/api/v1.0/jsonrpc/quarantine/computers
Parameters
Parameter | Type | Optional | Description |
---|---|---|---|
| Array | No | The list of IDs for the quarantined items. You can restore maximum 100 items once. |
Return value
This method returns a Boolean which is True when the task was successfully created.
Example
Request:
{ "params": { "quarantineItemsIds": [ "650185288f8e38e0dec2c623" ] }, "jsonrpc": "2.0", "method": "createReleaseQuarantineExchangeItemTask", "id": "5399c9b5-0b46-45e4-81aa-889952433d86" }
Response:
{ "id": "5399c9b5-0b46-45e4-81aa-889952433d86", "jsonrpc": "2.0", "result": true }