PATCH
/
redis
/
update-budget
/
{id}
Update Database Budget
curl --request PATCH \
  --url https://api.upstash.com/v2/redis/update-budget/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "budget": 123
}'
"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 the database whose budget will be updated

Body

application/json

Response

200 - application/json

Budget updated successfully

The response is of type string.

Example:

"OK"