POST
/
redis
/
restore-backup
/
{id}
Restore Backup
curl --request POST \
  --url https://api.upstash.com/v2/redis/restore-backup/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "backup_id": "<string>"
}'
"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 Redis database

Body

application/json

Response

200 - application/json

Backup restored successfully

The response is of type string.

Example:

"OK"