curl $UPSTASH_VECTOR_REST_URL/rename-namespace \ -X POST \ -d '{ "namespace": "ns", "newNamespace": "newNs" }' \ -H "Authorization: Bearer $UPSTASH_VECTOR_REST_TOKEN"
{ "result": { "renamed": true } }
Renames a namespace of an index.
""
Was this page helpful?