actions
Set GitHub Actions cache usage policy for an enterprise
Sets the GitHub Actions cache usage policy for an enterprise.
OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
patch/enterprises/{enterprise}/actions/cache/usage-policy
Path parameters
enterprisestring required
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Request body
Example request
{
"repo_cache_size_limit_in_gb": 10,
"max_repo_cache_size_limit_in_gb": 15
}Response
Response