---
title: "Delete a policy rule"
method: DELETE
path: "/api/v1/policies/{rule_id}"
tags: ["Policies"]
---

# Delete a policy rule

`DELETE /api/v1/policies/{rule_id}`

## Request

- Base URL: `https://dashboard.sealgate.ai`
- URL: `https://dashboard.sealgate.ai/api/v1/policies/{rule_id}`
- Auth: HTTP bearer

Delete a policy rule by its rule_id. Requires the admin role.

## Response `204`

Policy rule deleted

## Other responses

- `401`: Missing or invalid API key
- `403`: The caller's role is not permitted to perform this action
- `404`: The requested resource was not found

---

[API](https://skmtc.dev/sealgate/apis/sealgate-management-api.md) · [All operations](https://skmtc.dev/sealgate/apis/sealgate-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sealgate/apis/sealgate-management-api/revisions/c9ca2e599065?raw)
