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

# Delete All Policy Versions

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

## Request

- Base URL: `https://api.koboillm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.koboillm.com/policies/name/{policy_name}/all-versions`
- Auth: one of:
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`

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

---

[API](https://skmtc.dev/koboillm/apis/litellm-api.md) - [All operations](https://skmtc.dev/koboillm/apis/litellm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/koboillm/apis/litellm-api/revisions/34d130c71b07?raw)
