apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /repos/{owner}/{repo}/actions/cache/retention-limit — GitHub API

GitHub playground

Set GitHub Actions cache retention limit for a repository

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

1 body fields
  • max_cache_retention_days · optional · integer — The maximum number of days to keep caches in this repository.