actions
Get GitHub Actions cache usage policy for an enterprise
Gets the GitHub Actions cache usage policy for an enterprise.
OAuth tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
get/enterprises/{enterprise}/actions/cache/usage-policy
Request
- Base URL: http://HOSTNAME/api/v3
- URL: http://HOSTNAME/api/v3/enterprises/{enterprise}/actions/cache/usage-policy
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Response
Response
Example response
{
"repo_cache_size_limit_in_gb": 10,
"max_repo_cache_size_limit_in_gb": 15
}Changes
No recorded changes to this operation across all 50 revisions of this API.