## Delete Vectorize Index `client.vectorize.indexes.delete(stringindexName, IndexDeleteParamsparams, RequestOptionsoptions?): IndexDeleteResponse | null` **delete** `/accounts/{account_id}/vectorize/v2/indexes/{index_name}` Deletes the specified Vectorize Index. ### Parameters - `indexName: string` - `params: IndexDeleteParams` - `account_id: string` Identifier ### Returns - `IndexDeleteResponse = unknown | string | null` - `unknown` - `string` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const index = await client.vectorize.indexes.delete('example-index', { account_id: '023e105f4ecef8ad9ca31a8372d0c353', }); console.log(index); ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "result": {}, "success": true } ```