curlcurl $UPSTASH_VECTOR_REST_URL/delete-namespace/ns \ -X DELETE \ -H "Authorization: Bearer $UPSTASH_VECTOR_REST_TOKEN"
200 OK404 Not Found{ "result": "Success"}{ "error": "Namespace ns for the index $NAME does not exist", "status": 404}
NoteThe default namespace, which is the empty string "", cannot be deleted. Request# This endpoint doesn’t require any additional data. Path# namespacestringrequired#The namespace to delete. Response# resultstring#"Success" string.