## Create Primary Zone Configuration `dns.zone_transfers.outgoing.create(OutgoingCreateParams**kwargs) -> OutgoingCreateResponse` **post** `/zones/{zone_id}/secondary_dns/outgoing` Create primary zone configuration for outgoing zone transfers. ### Parameters - `zone_id: str` - `name: str` Zone name. - `peers: Sequence[str]` A list of peer tags. ### Returns - `class OutgoingCreateResponse: …` - `id: Optional[str]` - `checked_time: Optional[str]` The time for a specific event. - `created_time: Optional[str]` The time for a specific event. - `last_transferred_time: Optional[str]` The time for a specific event. - `name: Optional[str]` Zone name. - `peers: Optional[List[str]]` A list of peer tags. - `soa_serial: Optional[float]` The serial number of the SOA for the given zone. ### 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 ) outgoing = client.dns.zone_transfers.outgoing.create( zone_id="269d8f4853475ca241c4e730be286b20", name="www.example.com.", peers=["23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194"], ) print(outgoing.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": "269d8f4853475ca241c4e730be286b20", "checked_time": "2019-10-24T17:09:42.883908+01:00", "created_time": "2019-10-24T17:09:42.883908+01:00", "last_transferred_time": "2019-10-24T17:09:42.883908+01:00", "name": "www.example.com.", "peers": [ "23ff594956f20c2a721606e94745a8aa", "00920f38ce07c2e2f4df50b1f61d4194" ], "soa_serial": 2019102400 } } ```