Skip to main content
PATCH
Update cache

Authorizations

Authorization
string
header
required

The Bearer Token generated on the Cloud UI.

Path Parameters

cache
string
required

The cache identifier

Body

application/json
name
string
Required string length: 3 - 40
Pattern: ^[a-z0-9_-]+$
size
enum<string>
Available options:
250mb,
1gb,
2.5gb,
5gb,
12gb,
50gb,
100gb,
500gb,
valkey-flex-250mb,
valkey-flex-1gb,
valkey-flex-2.5gb,
valkey-pro.250mb,
valkey-pro.1gb,
valkey-pro.2.5gb,
valkey-pro.5gb,
valkey-pro.12gb,
valkey-pro.25gb,
valkey-pro.50gb,
elasticache.cache.r7g.large,
elasticache.cache.r7g.xlarge,
elasticache.cache.r7g.2xlarge,
elasticache.cache.r7g.4xlarge,
elasticache.cache.r7g.8xlarge,
elasticache.cache.r7g.12xlarge,
elasticache.cache.r7g.16xlarge,
elasticache.cache.c7gn.large,
elasticache.cache.c7gn.xlarge,
elasticache.cache.c7gn.2xlarge,
elasticache.cache.c7gn.4xlarge,
elasticache.cache.c7gn.8xlarge,
elasticache.cache.c7gn.12xlarge,
elasticache.cache.c7gn.16xlarge
auto_upgrade_enabled
boolean
is_public
boolean
eviction_policy
enum<string> | null

Only available for Valkey.

Available options:
allkeys-lru,
noeviction,
volatile-lru,
allkeys-random,
volatile-random,
volatile-ttl,
allkeys-lfu,
volatile-lfu
uses_hibernation
boolean
hibernation_timeout
Required range: 1 <= x <= 60

Response

CacheResource

data
CacheResource · object
required
included
EnvironmentResource · object[]