---
title: "Delete an authz policy"
method: DELETE
path: "/authz/policies/{name}"
tags: ["authz-policies"]
---

# Delete an authz policy

`DELETE /authz/policies/{name}`

(reserved for future use) Deletes all versions of the named policy. Deleting the reserved "default" policy restores the built-in default.

Required roles: All

## Response `204`

Policy deleted

## Other responses

- `401` — Unauthorized - Authentication failed
- `403` — Forbidden - requires an API key with All permission
- `404` — Not Found - the named policy or version does not exist
- `503` — Service Unavailable - authz/OPA is not configured in this environment

---

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