Accounts
Settings
Account-wide settings, as opposed to the per-zone toggles under `$client->zones()->settings()`.
Account-wide settings, as opposed to the per-zone toggles under
$client->zones()->settings().
Transformations
List the Image Resizing configuration of every zone in an account.
The account-wide view of the per-zone image_resizing setting, which
saves reading it zone by zone through
$client->zones()->settings()->get().
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. |
php
$response = $client->accounts()->settings()->transformations('ACCOUNT_ID');
Unique Transformations Billing
Get the Unique Transformations billing setting for an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. |
php
$response = $client->accounts()->settings()->uniqueTransformationsBilling('ACCOUNT_ID');
Update Unique Transformations Billing
Enable Unique Transformations billing for an account.
Directs billing data to the Transformations pipeline. Cloudflare accepts
only on here: once enabled, the setting cannot be turned back off.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
values | array | No | array ( 'value' => 'on', ) | Setting value, `['value' => 'on']`. |
php
$response = $client->accounts()->settings()->updateUniqueTransformationsBilling('ACCOUNT_ID', []);

