---
title: "Delete All Policy Versions"
method: DELETE
path: "/policies/name/{policy_name}/all-versions"
tags: ["policy_engine"]
---

# Delete All Policy Versions

`DELETE /policies/name/{policy_name}/all-versions`

Delete all versions of a policy. Also removes from in-memory registry.

## Path parameters

- `policy_name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `policy_engine` added
  - api tag `Policies` removed
- **2026-09-18** `082b5fabd909` — 4 info
  - api tag `Policies` added
  - api tag `policy_engine` removed
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-17** `e2f308355e2d` — 2 info
  - api tag `policy_engine` added
  - api tag `Policies` removed
- **2026-09-01** `89805a9f84ad` — 2 info
  - api tag `Policies` added
  - api tag `policy_engine` removed
- **2026-09-01** `5c00a227eebf` — 2 info
  - api tag `policy_engine` added
  - api tag `Policies` removed

[Full history](https://skmtc.dev/flock/apis/litellm-api/changes/policies/name/:policy_name/all-versions/delete.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/3b2b241e4b0b?raw)
