---
title: "DELETE /v1alpha1/policies/{policyId}/rules/{ruleId}"
method: DELETE
path: "/v1alpha1/policies/{policyId}/rules/{ruleId}"
tags: ["PolicyService"]
---

# DELETE /v1alpha1/policies/{policyId}/rules/{ruleId}

`DELETE /v1alpha1/policies/{policyId}/rules/{ruleId}`

## Request

- Base URL: `http://localhost:4000`
- URL: `http://localhost:4000/v1alpha1/policies/{policyId}/rules/{ruleId}`
- Auth: HTTP bearer and API key in header `x-id-api-key`

Delete an existing Rule.

## Path parameters

- `policyId` string, required
- `ruleId` string, required

## Response `200`

OK

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/agntcy/apis/agntcy-identity-service-api.md) - [All operations](https://skmtc.dev/agntcy/apis/agntcy-identity-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agntcy/apis/agntcy-identity-service-api/revisions/1dc8f8328648?raw)
