# Delete a replication policy Permanently deletes a replication policy by ID. ## Endpoint `DELETE /dcapi/som/replication-policies/{replication_policy_id}` ## Request ### Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/som/replication-policies/{replication_policy_id}` ### Scope `DesktopCentralCloud.SOM.DELETE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — **Mandatory** - `application/replicationPolicyDeletedStatus.v1+json` #### Path Parameters - **replication_policy_id** `string` — **Mandatory** - Unique identifier of the replication policy; get the replication policy ID from the [Replication Policies](https://www.manageengine.com/products/desktop-central/help/api/cloud/replication-policies-list-replication-policies.html) API response (`replicationPolicyID`). ### Sample Request ```curl curl --request DELETE \ --url https://appdomains/dcapi/som/replication-policies/{replication_policy_id} \ --header 'Accept: application/replicationPolicyDeletedStatus.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **status** `boolean` - Indicates whether the replication policy update or deletion completed successfully. - **message** `string` - Descriptive message confirming the operation or explaining the reason for failure (e.g., 'Replication policy - Business Hours Only has been updated successfully'). #### Sample Response: HTTP 200 Policy deleted ```json { "message": "Replication policy - Business Hours Only has been deleted successfully", "status": true } ``` ### HTTP Code 404 #### Response Body — application/json `JSON Object` - **statusCode** `string` - HTTP status code (404). - **errorCode** `string` - Error code identifying the resource that was not found. - **message** `string` - Error message describing the missing resource. #### Sample Response: HTTP 404 Replication policy not found ```json { "errorCode": "30027", "message": "Replication policy does not exist", "statusCode": 404 } ``` ### HTTP Code 412 #### Response Body — application/json `JSON Object` - **statusCode** `string` - HTTP status code (412). - **errorCode** `string` - Precondition failed error code identifying the business logic violation. - **message** `string` - Error message describing the precondition failed while processing request. #### Sample Response: HTTP 412 Policy is associated with remote offices ```json { "errorCode": "30026", "message": "Cannot delete policy. It is associated with one or more remote offices", "statusCode": 412 } ``` ## 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.