Skip to main content

createEmptyQuarantineTask

This method creates a new task to empty the quarantine.

Important

This main section of this article article contains information for the 1.1 version of the method. You can find information for version 1.0 here.

Parameters

No input parameters are required.

Return value

This method returns an array of parent task ids of the created tasks.

Example

Request:

{
       "params": {
          "includeSubCompanies": true
       },
       "jsonrpc": "2.0",
       "method": "createRemoveQuarantineItemTask",
       "id": "5399c9b5-0b46-45e4-81aa-889952433d86"
  }

Response:

{
      "id": "5399c9b5-0b46-45e4-81aa-889952433d86",
      "jsonrpc":"2.0",
      "result": [
          "652feab6b9684f3ba80685d5",
          "652feab6b9684f3ba80685d5"
      ]
}

Version 1.0

Parameters

No input parameters are required.

Return value

This method returns a Boolean which is True when the task was successfully created.

Example

Request:

{
       "params": {
           
       },
       "jsonrpc": "2.0",
       "method": "createEmptyQuarantineTask",
       "id": "5399c9b5-0b46-45e4-81aa-889952433d86"
  }

Response:

{
      "id": "5399c9b5-0b46-45e4-81aa-889952433d86",
      "jsonrpc":"2.0",
      "result": True
  }