## Remove a Namespace `kv.namespaces.delete(strnamespace_id, NamespaceDeleteParams**kwargs) -> NamespaceDeleteResponse` **delete** `/accounts/{account_id}/storage/kv/namespaces/{namespace_id}` Deletes the namespace corresponding to the given ID. ### Parameters - `account_id: str` Identifier. - `namespace_id: str` Namespace identifier tag. ### Returns - `class NamespaceDeleteResponse: …` ### 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.kv.namespaces.delete( namespace_id="0f2ac74b498b48028cb68387c421e279", account_id="023e105f4ecef8ad9ca31a8372d0c353", ) print(namespace) ``` #### 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" } } ], "success": true, "result": {} } ```