--- title: "Delete IP restriction" source_url: https://dev.digicert.com/certcentral-apis/services-api/ip-restrictions/delete-ip-restriction.html api_method: DELETE api_endpoint: "/services/v2/container/{{container_id}}/ip/rule/{{rule_id}}" api_url: "https://www.digicert.com/services/v2/container/{{container_id}}/ip/rule/{{rule_id}}" --- **DELETE** `https://www.digicert.com/services/v2/container/{{container_id}}/ip/rule/{{rule_id}}` Use this endpoint to delete an IP restriction rule in your CertCentral account. To delete a rule, you must provide the `rule_id` in the URL path. To get a list of rules and their corresponding ID values, use the [List IP restrictions](https://dev.digicert.com/md/certcentral-apis/services-api/ip-restrictions/list-ip-restrictions.md) API endpoint. ## Example requests and responses ## cURL ```bash curl --request DELETE 'https://www.digicert.com/services/v2/container/{{container_id}}/ip/rule/{{rule_id}}' \ --header 'X-DC-DEVKEY: {{api_key}}' \ --header 'Content-Type: application/json' ``` ## 204 No Content ```json // No content ``` ## Path parameters
Name Type Description
container_id integer ID of the top-level account container (division).
To get the ID of the top-level container in your account, use the List containers API endpoint. The top-level container is the container with a parent_id value of 0.
rule_id integer ID of the rule to delete.
To get a list of rules and their corresponding ID values, use the List IP restrictions API endpoint.