Cloudflare\Zone\SSL::update PHP Method

update() public method

Update SSL configuration (permission needed: #ssl:edit)
public update ( string $zone_identifier, string $identifier, string $certificate, string $private_key )
$zone_identifier string API item identifier tag
$identifier string
$certificate string The zone's SSL certificate or certificate and the intermediate(s)
$private_key string The zone's private key
    public function update($zone_identifier, $identifier, $certificate, $private_key)
    {
        $data = ['certificate' => $certificate, 'private_key' => $private_key];
        return $this->patch('zones/' . $zone_identifier . '/custom_certificates/' . $identifier, $data);
    }