# Delete multiple deployment records by ID list Deletes all deployment records specified in deploymentIDs. ## Endpoint **DELETE** `/emsapi/osdeployer/deployments` ## Request URL `https://{server-hostname}:8383/emsapi/osdeployer/deployments` ## Scope `OSDDeployment.DELETE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` **Mandatory**: `application/deploymentIDs.v1+json` - **Accept** `string` **Mandatory**: `application/deploymentDeleteStatus.v1+json` ### Request Body `application/deploymentIDs.v1+json` - `deploymentIDs` `array` **Mandatory**: IDs of OS Deployer deployment records to delete. ## Sample Request ```bash curl --request DELETE \ --url https://appdomain/emsapi/osdeployer/deployments \ --header 'Accept: application/deploymentDeleteStatus.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/deploymentIDs.v1+json' \ --data '{"deploymentIDs":[5001,5002,5003]}' ``` ## Sample Request Body Delete three deployment records ```json { "deploymentIDs": [ 5001, 5002, 5003 ] } ``` ## Response Parameters ### HTTP code 200 Response Body: `application/deploymentDeleteStatus.v1+json` - `deploymentDeleteStatus` `boolean`: True if the deployments were successfully deleted. ## Possible Response Codes - **200** HTTP code ## Sample Response: HTTP 200 All deployment records deleted ```json { "deploymentDeleteStatus": true } ``` ## API Rate Limits **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.