{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Sets GitHub Actions cache retention limit for an enterprise. All organizations and repositories under this\nenterprise may not set a higher cache retention limit.\n\nOAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.\n\n> [!NOTE]\n> 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).","properties":{"path":{"type":"object","properties":{"enterprise":{"type":"string","description":"The slug version of the enterprise name."}},"required":["enterprise"],"additionalProperties":false},"body":{"$ref":"#/definitions/actions-cache-retention-limit-for-enterprise"}},"required":["path","body"],"additionalProperties":false,"definitions":{"actions-cache-retention-limit-for-enterprise":{"title":"Actions cache retention limit for an enterprise","description":"GitHub Actions cache retention policy for an enterprise.","type":"object","properties":{"max_cache_retention_days":{"description":"For repositories & organizations in an enterprise, the maximum duration, in days, for which caches in a repository may be retained.","type":"integer","examples":[14]}}}}},"name":"Set GitHub Actions cache retention limit for an enterprise","id":"github.actions.set-actions-cache-retention-limit-for-enterprise","example":{"path":{"enterprise":"example"},"body":{}},"maxRequests":1,"summary":false}}