---
title: "Delete a guardrail"
method: DELETE
path: "/guardrails/{id}"
tags: ["Guardrails"]
---

# Delete a guardrail

`DELETE /guardrails/{id}`

Delete an existing guardrail. [Management key](/docs/guides/overview/auth/management-api-keys) required.

## Path parameters

- `id` string, uuid, required — The unique identifier of the guardrail to delete

## Response `200`

Guardrail deleted successfully

- DeleteGuardrailResponse
  - `deleted` true, required — Confirmation that the guardrail was deleted

## Other responses

- `401` — Unauthorized - Authentication required or invalid credentials
- `404` — Not Found - Resource does not exist
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/openrouterteam/apis/openrouter-api.md) · [All operations](https://skmtc.net/openrouterteam/apis/openrouter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrouterteam/openrouter-api/versions/f3788187f5b7/schema)
