CloudFlare\Zone::create PHP Метод

create() публичный Метод

Create a zone (permission needed: #zone:edit)
public create ( string $name, boolean | null $jump_start = null, integer | null $organization = null )
$name string The domain name
$jump_start boolean | null Automatically attempt to fetch existing DNS records
$organization integer | null To create a zone owned by an organization, specify the organization parameter. Organization objects can be found in the User or User's Organizations endpoints. You must pass at least the ID of the organization.
    public function create($name, $jump_start = null, $organization = null)
    {
        $data = ['name' => $name, 'jump_start' => $jump_start, 'organization' => $organization];
        return $this->post('zones', $data);
    }