# Delete one or more certificates from the MDM certificate repository Delete one or more certificates from the MDM certificate repository. Optionally redistributes profiles that referenced the deleted certificates. ## Endpoints `DELETE /api/v1/mdm/profiles/certificates` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)`/api/v1/mdm/profiles/certificates` ## Scope `MDMOnDemand.MDMDeviceMgmt.DELETE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` **Mandatory**: `application/json` - **Accept** `string` **Mandatory**: `application/json` ### Request Body `application/json` - **certificate_ids** `array` **Mandatory**: Array of certificate IDs to delete. Minimum 1, maximum 25 entries. Obtain from the [Get Certificates](https://www.manageengine.com/mobile-device-management/help/api/cloud/certificates-get-certificates.html) response. - **redistribute_profiles** `boolean` **Optional**: If true, automatically redistributes profiles that referenced the deleted certificates. Default false. ## Sample Request ```curl curl --request DELETE \ --url https://appdomain/api/v1/mdm/profiles/certificates \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{"certificate_ids":[9007199254741000,9007199254741008,9007199254741296]}' ``` ## Sample Request Body ### Delete multiple certificates by their IDs ```json { "certificate_ids": [ 9007199254741000, 9007199254741008, 9007199254741296 ], "redistribute_profiles": false } ``` ### Delete certificates and redistribute associated profiles ```json { "certificate_ids": [ 9007199254741000 ], "redistribute_profiles": true } ``` ## Response Parameters ### HTTP code 202 Response Body — `application/json` - **status** `boolean`: true if the certificates were successfully deleted ## Possible Response Codes - **202** `HTTP code` ## Sample Response: HTTP 202 ### Certificates successfully deleted ```json { "status": true } ``` ## API Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 60 | **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.