Cloudflare\Zone\CustomPages::update PHP Метод

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

Update Custom page URL (permission needed: #zone_settings:edit) Update Custom page URL
public update ( string $zone_identifier, string $identifier, string $url, string $state )
$zone_identifier string API item identifier tag
$identifier string
$url string A URL that is associated with the Custom Page.
$state string The Custom Page state
    public function update($zone_identifier, $identifier, $url, $state)
    {
        $data = ['url' => $url, 'state' => $state];
        return $this->patch('zones/' . $zone_identifier . '/custom_pages/' . $identifier, $data);
    }