---
title: "clear a resource's past versions, keeping only the current value"
method: DELETE
path: "/w/{workspace}/resources/history/p/{path}"
tags: ["resource"]
---

# clear a resource's past versions, keeping only the current value

`DELETE /w/{workspace}/resources/history/p/{path}`

## Path parameters

- `workspace` string, required
- `path` string, required

## Response `200`

history cleared

## Changes

- **2026-08-10** `85ef56aed504` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/resources/history/p/:path/delete.md)

---

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