# Delete multiple deployment tasks by ID list Permanently deletes multiple deployment tasks in a single request. Provide an array of task IDs to be removed. ## Endpoint `DELETE /emsapi/osdeployer/tasks` ## Request URL `https://{server-hostname}:8383/emsapi/osdeployer/tasks` ## Scope `OSDTask.DELETE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` — **Mandatory**: `application/deploymentTaskIDs.v1+json` - **Accept** `string` — **Mandatory**: `application/deploymentTasksDeletedStatus.v1+json` ### Request Body `application/deploymentTaskIDs.v1+json` `JSON Object` - **taskIDs** `array` — **Mandatory** - IDs of deployment tasks to delete. Required; an empty body returns `INSUFFICIENT_PARAM_DATA`. ## Sample Request ```shell curl --request DELETE \ --url https://appdomain/emsapi/osdeployer/tasks \ --header 'Accept: application/deploymentTasksDeletedStatus.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/deploymentTaskIDs.v1+json' \ --data '{"taskIDs":[200,201,202]}' ``` ## Sample Request Body Delete three tasks ```json { "taskIDs": [ 200, 201, 202 ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/deploymentTasksDeletedStatus.v1+json` `JSON Object` - **isTaskDeleted** `boolean` - True if the tasks were successfully deleted. ## Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 All tasks successfully deleted ```json { "isTaskDeleted": true } ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 50 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.