Get GitHub Actions cache storage limit for an enterprise
GET
/enterprises/{enterprise}/actions/cache/storage-limit
Gets 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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”enterprise
required
string
The slug version of the enterprise name.
Responses
Section titled “Responses”Response
Media typeapplication/json
Actions cache storage limit for an enterprise
GitHub Actions cache storage policy for an enterprise.
object
max_cache_size_gb
For repositories & organizations in an enterprise, the maximum size limit for the sum of all caches in a repository, in gigabytes.
integer
Examples
Exampledefault
{ "max_cache_size_gb": 150}Forbidden
Media typeapplication/json
Basic Error
Basic Error
object
message
string
documentation_url
string
url
string
status
string
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Resource not found
Media typeapplication/json
Basic Error
Basic Error
object
message
string
documentation_url
string
url
string
status
string
Examplegenerated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}