## Disable Email Routing `email_routing.disable(EmailRoutingDisableParams**kwargs) -> Settings` **post** `/zones/{zone_id}/email/routing/disable` Disable your Email Routing zone. Also removes additional MX records previously required for Email Routing to work. ### Parameters - `zone_id: str` Identifier. - `body: object` ### Returns - `class Settings: …` - `id: str` Email Routing settings identifier. - `enabled: Literal[true, false]` State of the zone settings for Email Routing. - `true` - `false` - `name: str` Domain of your zone. - `created: Optional[datetime]` The date and time the settings have been created. - `modified: Optional[datetime]` The date and time the settings have been modified. - `skip_wizard: Optional[Literal[true, false]]` Flag to check if the user skipped the configuration wizard. - `true` - `false` - `status: Optional[Literal["ready", "unconfigured", "misconfigured", 2 more]]` Show the state of your account, and the type or configuration error. - `"ready"` - `"unconfigured"` - `"misconfigured"` - `"misconfigured/locked"` - `"unlocked"` - `tag: Optional[str]` Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier) ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_email=os.environ.get("CLOUDFLARE_EMAIL"), # This is the default and can be omitted api_key=os.environ.get("CLOUDFLARE_API_KEY"), # This is the default and can be omitted ) settings = client.email_routing.disable( zone_id="023e105f4ecef8ad9ca31a8372d0c353", body={}, ) print(settings.id) ``` #### 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": { "id": "75610dab9e69410a82cf7e400a09ecec", "enabled": true, "name": "example.net", "created": "2014-01-02T02:20:00Z", "modified": "2014-01-02T02:20:00Z", "skip_wizard": true, "status": "ready", "tag": "75610dab9e69410a82cf7e400a09ecec" } } ```