---
title: "Delete a GitHub Actions cache for a repository (using a cache ID)"
method: DELETE
path: "/repos/{owner}/{repo}/actions/caches/{cache_id}"
tags: ["actions"]
---

# Delete a GitHub Actions cache for a repository (using a cache ID)

`DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}`

Deletes a GitHub Actions cache for a repository, using a cache ID.

OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.

## Path parameters

- `owner` string, required
- `repo` string, required
- `cache_id` integer, required

## Response `204`

Response

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
