Client Reference
Bot Management
Bot Management endpoint reference.
Get
Get the current Bot Management configuration for a zone.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
zoneId | string | Yes | Zone Identifier. |
php
$response = $client->botManagement()->get('ZONE_ID');
Update
Update the Bot Management configuration for a zone.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
zoneId | string | Yes | Zone Identifier. | |
values | array | Yes | Values to set on the Bot Management config, e.g. `fight_mode`, `enable_js`, `sbfm_definitely_automated`. |
php
$response = $client->botManagement()->update('ZONE_ID', []);

