Skip to main content
PUT
/
v1
/
vectors
/
indexes
/
{index_id}
Update Index
curl --request PUT \
  --url https://api.gravixlayer.com/v1/vectors/indexes/{index_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {},
  "delete_protection": true
}
'

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Gravix Layer Dashboard.

Path Parameters

index_id
string
required

Index UUID

Body

application/json
metadata
object

Updated metadata

delete_protection
boolean

Enable/disable delete protection

Response

200

Index updated