Skip to main content
POST
/
search
/
{id}
/
rename
Rename Search Index
curl --request POST \
  --url https://api.upstash.com/v2/search/{id}/rename \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "new-index-name"
}'
"OK"

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Body

application/json
name
string
required
Example:

Response

200 - application/json
Example: