---
title: "Delete a policy (sub)tree"
method: DELETE
path: "/policy"
tags: ["policy"]
---

# Delete a policy (sub)tree

`DELETE /policy`

## Request body

- string[] — Set of labels

## Response `200`

Success

- Policy — Policy definition
  - `revision` integer — Revision number of the policy. Incremented each time the policy is changed in the agent's repository
  - `policy` string — Policy definition as JSON.

## Other responses

- `400` — Invalid request
- `403` — Forbidden
- `404` — Policy not found
- `500` — Error while deleting policy

## Changes

- **2024-09-03** (v1) `5b32623f4b87` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cilium/apis/cilium-api/changes/policy/delete.md)

---

[API](https://skmtc.dev/cilium/apis/cilium-api.md) · [All operations](https://skmtc.dev/cilium/apis/cilium-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cilium/cilium-api/revisions/5b32623f4b87/schema)
