# Delete a single deployment task Permanently deletes a deployment task and all its associated target machine entries. ## Endpoints **DELETE** `/emsapi/osdeployer/tasks/{taskId}` ## Request URL `https://{server-hostname}:8383/emsapi/osdeployer/tasks/{taskId}` ## Scope `OSDTask.DELETE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — Mandatory: `application/deploymentTaskDeletedStatus.v1+json` ### Path Parameters - **taskId** `string` — Mandatory - ID of the OS Deployment task ## Sample Request ```curl curl --request DELETE \ --url https://appdomain/emsapi/osdeployer/tasks/{taskId} \ --header 'Accept: application/deploymentTaskDeletedStatus.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — `application/deploymentTaskDeletedStatus.v1+json` `JSON Object` - **isTaskDeleted** `boolean` - True if the task was successfully deleted. ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Task successfully deleted ```json { "isTaskDeleted": true } ``` ## API Rate Limits ![Help icon](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.