---
title: "Update Redis instance"
method: PATCH
path: "/redis/{redisId}"
tags: ["Redis (Deprecated)"]
deprecated: true
---

# Update Redis instance

`PATCH /redis/{redisId}`

> **Deprecated.**

Update a Redis instance by ID. This API is deprecated in favor of the Key Value API.

## Path parameters

- `redisId` string, required

## Request body

- RedisPATCHInput — Input type for updating a Redis instance
  - `name` string — The name of the Redis instance
  - `plan` 'free' | 'starter' | 'standard' | 'pro' | 'pro_plus' | 'custom'
  - `maxmemoryPolicy` 'noeviction' | 'allkeys_lfu' | 'allkeys_lru' | 'allkeys_random' | 'volatile_lfu' | 'volatile_lru' | 'volatile_random' | 'volatile_ttl' — The eviction policy for the Key Value instance
  - `persistenceMode` 'journal_snapshot' | 'snapshot' | 'off' — The persistence mode for the Key Value instance. The default for paid instances is journal_snapshot (both journaling and snapshots). Only turn off persistence if you're using this Key Value instance as a cache and are okay with losing data. Free instances do not have persistence.
  - `ipAllowList` CidrBlockAndDescription[]
    - `cidrBlock` string, required
    - `description` string, required — User-provided description of the CIDR block

## Response `200`

Updated

- RedisDetail — A Redis instance
  - `id` string, required — The ID of the Redis instance
  - `createdAt` string, date-time, required — The creation time of the Redis instance
  - `updatedAt` string, date-time, required — The last updated time of the Redis instance
  - `status` 'creating' | 'available' | 'unavailable' | 'config_restart' | 'suspended' | 'maintenance_scheduled' | 'maintenance_in_progress' | 'recovery_failed' | 'recovery_in_progress' | 'unknown' | 'updating_instance', required
  - `region` 'frankfurt' | 'oregon' | 'ohio' | 'singapore' | 'virginia', required — Defaults to "oregon"
  - `plan` 'free' | 'starter' | 'standard' | 'pro' | 'pro_plus' | 'custom', required
  - `name` string, required — The name of the Redis instance
  - `owner` Owner, required
    - `id` string, required
    - `name` string, required
    - `email` string, required
    - `ipAllowList` CidrBlockAndDescription[]
      - `cidrBlock` string, required
      - `description` string, required — User-provided description of the CIDR block
    - `twoFactorAuthEnabled` boolean — Whether two-factor authentication is enabled for the owner. Only present if `type` is `user`.
    - `type` 'user' | 'team', required
  - `options` RedisOptions, required — Options for a Redis instance
    - `maxmemoryPolicy` string
    - `persistenceMode` 'journal_snapshot' | 'snapshot' | 'off' — The persistence mode for the Key Value instance. The default for paid instances is journal_snapshot (both journaling and snapshots). Only turn off persistence if you're using this Key Value instance as a cache and are okay with losing data. Free instances do not have persistence.
  - `ipAllowList` CidrBlockAndDescription[], required — The IP allow list for the Redis instance
    - `cidrBlock` string, required
    - `description` string, required — User-provided description of the CIDR block
  - `environmentId` string — The ID of the environment the Redis instance is associated with
  - `version` string, required — The version of Redis
  - `maintenance` object
    - `id` Schema, required — unresolved $ref
    - `type` string, required
    - `scheduledAt` string, date-time, required
    - `pendingMaintenanceBy` string, date-time — If present, the maintenance run cannot be scheduled for later than this date-time.
    - `state` Items, required — unresolved $ref

## Other responses

- `400` — The request could not be understood by the server.
- `401` — Authorization information is missing or invalid.
- `404` — Unable to find the requested resource.
- `409` — The current state of the resource conflicts with this request.
- `429` — Rate limit has been surpassed.
- `500` — An unexpected server error has occurred.
- `503` — Server currently unavailable.

---

[API](https://skmtc.dev/render/apis/render-public-api.md) · [All operations](https://skmtc.dev/render/apis/render-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/render/render-public-api/revisions/80e0ff74d033/schema)
