---
title: cache_instance_update
url: /docs/ai-agents/mcp-tools/caches/cache_instance_update/
canonical_url: https://blossom88.com/docs/ai-agents/mcp-tools/caches/cache_instance_update/
markdown_url: https://blossom88.com/docs/ai-agents/mcp-tools/caches/cache_instance_update.md
summary: "Change a cache: grow storage, standby, public access, deletion
  protection, backup storage."
categories:
  - mcp
  - reference
---

# cache_instance_update

Change a cache: grow storage, standby, public access, deletion protection, backup storage.

| | |
|---|---|
| Access | Changes Blossom |
| Same as | [`blossom cache_instance:update`](/docs/reference/cli/cache_instance/update/) |

## Arguments

| Argument | Type | Description |
|---|---|---|
| `id` | string | Cache instance id. Required. |
| `data` | object | Only the cache settings to change. Required. |
| `data.name` | string | Cache name. |
| `data.deletion_protection` | boolean | Refuse deletion until turned off. |
| `data.backup_storage_id` | string | Backup storage id. |
| `data.storage_gib` | integer | Grow storage to this many GiB. |
| `data.growth_restart` | boolean | Allow a restart if growing storage needs one. |
| `data.public_access` | boolean | Allow connections from outside the Location. |
| `data.public_allowed_sources` | string list | CIDRs allowed when public. |
| `data.standby` | boolean | Keep a standby for failover. |

## Example

```json
{"id":"cache_instance-100","data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}
```
