Cloudflare\Zone\Plan::change PHP Метод

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

Change plan (permission needed: #billing:edit) Change the plan level for the zone. This will cancel any previous subscriptions and subscribe the zone to the new plan.
public change ( string $zone_identifier, string $identifier )
$zone_identifier string
$identifier string API item identifier tag
    public function change($zone_identifier, $identifier)
    {
        return $this->put('zones/' . $zone_identifier . '/plans/' . $identifier . '/subscribe');
    }