actions
Set GitHub Actions cache storage limit for an enterprise
Sets GitHub Actions cache storage limit for an enterprise. All organizations and repositories under this enterprise may not set a higher cache storage limit.
OAuth tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
[!NOTE] The "Enterprise administration" fine-grained permission is not available to callers. To use this API, you must use an OAuth app token or a personal access token (classic).
put/enterprises/{enterprise}/actions/cache/storage-limit
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/actions/cache/storage-limit
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Example request
{
"max_cache_size_gb": 10
}Response
Response
Changes
No recorded changes to this operation across all 23 revisions of this API.