POST
/
v2
/
redis
/
update-regions
/
{id}
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"
  ]
}'
"OK"

Authorizations

Authorization
string
header
required

Basic authentication using email and API key

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.