# Delete a single deployment record Deletes a deployment history record. In-progress deployments must be stopped first using the stop deployment API. ## Endpoints `DELETE /emsapi/osdeployer/deployments/{deploymentId}` ## Request URL `https://{server-hostname}:8383/emsapi/osdeployer/deployments/{deploymentId}` ## Scope `OSDDeployment.DELETE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/deploymentDeleteStatus.v1+json` ### Path Parameters - **deploymentId** `string` — **Mandatory** - ID of the OS Deployer deployment ## Sample Request ```bash curl --request DELETE \ --url https://appdomain/emsapi/osdeployer/deployments/{deploymentId} \ --header 'Accept: application/deploymentDeleteStatus.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 #### Response Body — `application/deploymentDeleteStatus.v1+json` `JSON Object` - **deploymentDeleteStatus** `boolean` - True if the deployment was successfully deleted. ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Deployment record removed ```json { "deploymentDeleteStatus": true } ``` ## API Rate Limits ![](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.