cURL
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 } '
Update index metadata or delete protection
API key authentication. Get your API key from the Gravix Layer Dashboard.
Index UUID
Updated metadata
Enable/disable delete protection
Index updated