# Permanently delete configurations from the trash Permanently deletes one or more configurations from the trash. This action is irreversible. ## Endpoint `DELETE /dcapi/configuration/trash/delete` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/configuration/trash/delete` ## Scope `DesktopCentralCloud.Configurations.DELETE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` — **Mandatory**: `application/deleteConfigTrash.v1+json` - **Accept** `string` — **Mandatory**: `application/deletedConfigStatus.v1+json` ### Request Body `application/json` `JSON Object` - **collectionIds** `array` — Optional Array of trashed configuration collection IDs to permanently delete. Each ID must reference a configuration currently in the trash for the requesting customer. Fetch from [Get Trash View](https://www.manageengine.com/products/desktop-central/help/api/cloud/deployment-fw-get-trash-view.html). Maximum 500 entries. ## Sample Request ```curl curl --request DELETE \ --url https://appdomains/dcapi/configuration/trash/delete \ --header 'Accept: application/deletedConfigStatus.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/deleteConfigTrash.v1+json' \ --data '{}' ``` ## Sample Request Body Permanently delete trashed collections ```json { "collectionIds": [ 12345, 12346 ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` `JSON Object` - **status** `string` Result of the operation — Success when completed successfully ### HTTP Code 401 Response Body — `application/json` `JSON Object` - **errorCode** `long` Unauthorized error code: credentials missing, expired, or invalid - **errorMsg** `string` Authentication failure reason ## Possible Response Codes - **200** — HTTP code - **401** — HTTP code ## Sample Response: HTTP 200 All trashed collections permanently deleted ```json { "status": "Success" } ``` ## Sample Response: HTTP 401 User lacks write role, scope, or customer does not own the collection ```json { "error_description": "Access denied - You are not allowed to access the requested resource.", "error_code": "UAC_UNAUTHORIZED" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **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.