## Delete namespace. `aisearch.namespaces.delete(strname, NamespaceDeleteParams**kwargs) -> object` **delete** `/accounts/{account_id}/ai-search/namespaces/{name}` Delete namespace. ### Parameters - `account_id: Optional[str]` - `name: str` ### Returns - `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 ) namespace = client.aisearch.namespaces.delete( name="production", account_id="c3dc5f0b34a14ff8e1b3ec04895e1b22", ) print(namespace) ``` #### Response ```json { "result": {}, "success": true } ```