apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /enterprises/{enterprise}/actions/cache/retention-limit — GitHub API

GitHub playground

Set GitHub Actions cache retention limit for an enterprise

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 — For repositories & organizations in an enterprise, the maximum duration, in days, for which caches in a repository may be retained.