---
title: "Delete caches"
method: DELETE
path: "/repositories/{workspace}/{repo_slug}/pipelines-config/caches"
tags: ["Pipelines"]
---

# Delete caches

`DELETE /repositories/{workspace}/{repo_slug}/pipelines-config/caches`

Delete repository cache versions by name.

## Path parameters

- `workspace` string, required
- `repo_slug` string, required

## Query parameters

- `name` string, required

## Response `204`

The caches were deleted.

## Other responses

- `404` — The workspace, repository or cache name was not found.

---

[API](https://skmtc.net/atlassian/apis/bitbucket-api.md) · [All operations](https://skmtc.net/atlassian/apis/bitbucket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/bitbucket-api/revisions/3dbfe6a80143/schema)
