Overview

Namespaces

  • Cloudflare
    • Organizations
      • Firewall
        • AccessRules
    • User
      • Billing
        • Subscriptions
      • Firewall
    • Zone
      • Firewall
      • SSL
      • WAF
        • Packages

Classes

  • Analytics
  • Cache
  • CustomPages
  • CustomSSL
  • Dns
  • KeylessSSL
  • Pagerules
  • Plan
  • Railgun
  • Settings
  • SSL
  • Overview
  • Namespace
  • Class

Class Plan

CloudFlare API wrapper

Zone Plan

Cloudflare\Api
Extended by Cloudflare\Zone\Plan
Namespace: Cloudflare\Zone
Author: James Bell james@james-bell.co.uk
Version: 1
Located at CloudFlare/Zone/Plan.php
Methods summary
public
# available( string $zone_identifier )

Available plans (permission needed: #billing:read) List all plans the zone can subscribe to.

Available plans (permission needed: #billing:read) List all plans the zone can subscribe to.

Parameters

$zone_identifier
public
# details( string $zone_identifier, string $identifier )

Available plans (permission needed: #billing:read)

Available plans (permission needed: #billing:read)

Parameters

$zone_identifier
$identifier
API item identifier tag
public
# change( string $zone_identifier, string $identifier )

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.

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.

Parameters

$zone_identifier
$identifier
API item identifier tag
Methods inherited from Cloudflare\Api
__construct(), delete(), get(), patch(), permissions(), post(), put(), request(), setAuthKey(), setCurlOption(), setEmail()
Properties summary
protected array $permission_level

Default permissions level

Default permissions level

# ['read' => '#billing:read', 'edit' => '#billing:edit']
Properties inherited from Cloudflare\Api
$auth_key, $curl_options, $email
API documentation generated by ApiGen