---
title: "Delete a guardrail rule"
method: DELETE
path: "/v2/guardrail-rules/{guardrail_rule_id}"
tags: ["Guardrail Rules"]
---

# Delete a guardrail rule

`DELETE /v2/guardrail-rules/{guardrail_rule_id}`

## Request

- Base URL: `https://my.orq.ai`
- URL: `https://my.orq.ai/v2/guardrail-rules/{guardrail_rule_id}`
- Auth: HTTP bearer

Permanently deletes a guardrail rule.

## Path parameters

- `guardrail_rule_id` string, required

## Response `200`

OK

- DeleteGuardrailRuleResponse

## Other responses

- `401`: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.

## Changes

> 554 revisions in range; 71 not diffed.

- **2026-10-23** `0b4e519a544f`: 1 info
  - added the non-success response with the status `401`
- **2026-10-23** `732aed62833a`: 1 info
  - removed the non-success response with the status `401`
- **2026-10-22** `4f826b2c3a0e`: 1 info
  - added the non-success response with the status `401`
- **2026-10-22** `8f0dc569f247`: 1 info
  - removed the non-success response with the status `401`
- **2026-10-21** `08b800d640e6`: 1 info
  - added the non-success response with the status `401`

[Operation history](https://skmtc.dev/orq-ai/apis/orq-ai-api/changes/v2/guardrail-rules/:guardrail_rule_id/delete.md)

---

[API](https://skmtc.dev/orq-ai/apis/orq-ai-api.md) - [All operations](https://skmtc.dev/orq-ai/apis/orq-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/orq-ai/apis/orq-ai-api/revisions/928a71e92252?raw)
