Any way to delete a namespace and all the vectors inside it via rest API? doesn't seem to be documen
Any way to delete a namespace and all the vectors inside it via rest API? doesn't seem to be documented
AND (implicit) but can't find OR.test and deleted it. Does that mean I can never create an index called test for the life of my account?
🚧 Creating index: 'database-name'
✘ [ERROR] A request to the Cloudflare API (/accounts/b7b5a2f84f22862a502266ecc6abb2a0/vectorize/v2/indexes) failed.
vectorize.index.deleted - Index name "database-name" [code: 3005]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose{
"result": null,
"success": false,
"errors": [{
"code": 3005,
"message": "vectorize.index.deleted - Index name \"your_index_name\""
}],
"messages": []
} const {
params,
context: { cloudflare },
} = args;
if (!cloudflare.env.VECTORIZE) { // <-- doesn't exist
console.log("no key");
return;
}