# Delete multiple fence (compliance) profiles deletes fence policies ## Endpoint `DELETE /api/v1/mdm/compliance` ## Request URL `https://`[{serverurl}](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)`/api/v1/mdm/compliance` ## Scope `MDMOnDemand.MDMInventory.DELETE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` — Mandatory: `application/json;charset=UTF-8` - **Accept** `string` — Mandatory: `application/json` ### Request Body `application/json` - `JSON object` - **compliance_ids** `array` — Mandatory - Array of compliance IDs (as strings) to delete. Obtain from the [Get Fence Policy Details](https://www.manageengine.com/mobile-device-management/help/api/cloud/geofencing-get-fence-policy-details.html) response ## Sample Request ```curl curl --request DELETE \ --url https://appdomain/api/v1/mdm/compliance \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json;charset=UTF-8' \ --data '{"compliance_ids":["9007199254741037","9007199254741038","9007199254741039"]}' ``` ## Sample Request Body Delete three fence policies by their IDs ```json { "compliance_ids": [ "9007199254741037", "9007199254741038", "9007199254741039" ] } ``` ## Possible Response Codes - **204** `HTTP code` ## Sample Response: HTTP 204 ```text 204 No Content ``` ## API Rate Limit **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.