---
title: "POST /locations/global/securityPolicies/{securityPolicy}/removeRule"
method: POST
path: "/locations/global/securityPolicies/{securityPolicy}/removeRule"
tags: ["organizationSecurityPolicies"]
---

# POST /locations/global/securityPolicies/{securityPolicy}/removeRule

`POST /locations/global/securityPolicies/{securityPolicy}/removeRule`

Deletes a rule at the specified priority.

Use this API to modify Cloud Armor policies. Previously, alpha and beta
versions of this API were used to modify firewall policies. This usage is
now disabled for most organizations. Use firewallPolicies.removeRule
instead.

## Path parameters

- `securityPolicy` string, required

## Query parameters

- `priority` integer
- `requestId` string

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/compute.md) · [All operations](https://skmtc.net/google/apis/compute/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/compute/revisions/6120ed8969d4/schema)
