POST
/
redis
/
update-regions
/
{id}
Update Regions
curl --request POST \
  --url https://api.upstash.com/v2/redis/update-regions/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "read_regions": [
    "us-west-1",
    "us-west-2"
  ]
}'
"OK"

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of your database

Body

application/json

Response

200 - application/json

Regions updated successfully

The response is of type string.

Example:

"OK"