Delete Tasks
post
                    /rest/v19/tasks/actions/deleteTasks
This endpoint is used to delete multiple tasks.
                
                Request
Supported Media Types
                - application/json
Root Schema : tasks-deleteRequest
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            selections: 
            array  selections
            
            Title:selectionsList of the tasks to be deleted
Nested Schema : selections
    
      
      Type: 
    
    
    
    arrayTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    selectionsList of the tasks to be deleted
    
    
    
    
    
        Show Source
        - 
            Array of: 
                string
            
            Title:SelectionResource name selected
Response
Default Response
OK
                
                
                Examples
The following example shows how to delete multiple tasks from the status log by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/tasks/actions/deleteTasks
Request Body Sample
{
   "selections": [41365769, 4118171, 41365772]
}
                  		Response Body Sample
{
  "id": 41361249,
  "dateModified": "10/08/2019 9:13 AM",
  "links": [{
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v19/datatables"
    }, {
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/datatables/ServerComponents"
    }
  ],
  "name": "ServerComponents",
  "description": "This table lists server components for the Vision Servers configuration.",
  "hasUndeployedChanges": true,
  "deployedDate": "",
  "dateCreated": "10/08/2019 9:13 AM",
  "folder": {
    "name": "Servers",
    "variableName": "servers",
    "links": [{
        "rel": "related",
        "href": "https://sitename.oracle.com/rest/v19/dataTableFolders/servers"
      }
    ]
  },
  "isLive": false
}