---
title: "Update Regions"
method: POST
path: "/redis/update-regions/{id}"
tags: ["redis"]
---

# Update Regions

`POST /redis/update-regions/{id}`

## Request

- Base URL: `https://api.upstash.com/v2`
- URL: `https://api.upstash.com/v2/redis/update-regions/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/upstash/apis/developer-api-upstash/docs/redis/update-regions/:id/post.ts> (a function with typed inputs; its response is checked against the schema)

Update the regions of a database

## Path parameters

- `id` string, required

## Request body

- object
  - `read_regions` string[], required: Array of Read Regions of the Database

## Response `200`

Regions updated successfully

- string

---

[API](https://skmtc.dev/upstash/apis/developer-api-upstash.md) - [All operations](https://skmtc.dev/upstash/apis/developer-api-upstash/llms.txt) - [OpenAPI document](https://skmtc.dev/upstash/apis/developer-api-upstash/revisions/bddbdcab9052?raw)
