## Delete Vectorize Index `vectorize.indexes.delete(strindex_name, IndexDeleteParams**kwargs) -> IndexDeleteResponse` **delete** `/accounts/{account_id}/vectorize/v2/indexes/{index_name}` Deletes the specified Vectorize Index. ### Parameters - `account_id: str` Identifier - `index_name: str` ### Returns - `Union[str, object, null]` - `str` - `object` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) index = client.vectorize.indexes.delete( index_name="example-index", account_id="023e105f4ecef8ad9ca31a8372d0c353", ) print(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 } ```