Redis

Enable Eviction

This endpoint enables eviction for given database.

POST/v2/redis/enable-eviction/{id}
cURL
curl --request POST \
  --url https://api.upstash.com/v2/redis/enable-eviction/{id} \
  --header 'Authorization: Bearer <token>'
200Response
"OK"

Authorization

Authorizationheaderstringrequired

Bearer authentication header of the form Bearer <token>.

Path parameters

idpathstringrequired

The ID of the database to enable eviction

Response

200 — Eviction enabled successfully

Loading search…