actions
Set GitHub Actions cache retention limit for an enterprise
Sets GitHub Actions cache retention limit for an enterprise. All organizations and repositories under this enterprise may not set a higher cache retention limit.
OAuth tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
put/enterprises/{enterprise}/actions/cache/retention-limit
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Example request
{
"max_cache_retention_days": 14
}Response
Response