Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/)
# @param string $customer_id Alphanumeric string identifying the customer. (required)
# @param string $billing_contact_id The alphanumeric string representing the primary billing contact. (optional)
# @param string $billing_network_type Customer's current network revenue type. (optional)
# @param string $billing_ref Used for adding purchased orders to customer's account. (optional)
# @param boolean $can_configure_wordpress Whether this customer can view or edit wordpress. (optional)
# @param boolean $can_reset_passwords Whether this customer can reset passwords. (optional)
# @param boolean $can_upload_vcl Whether this customer can upload VCL. (optional)
# @param boolean $force_2fa Specifies whether 2FA is forced or not forced on the customer account. Logs out non-2FA users once 2FA is force enabled. (optional)
# @param boolean $force_sso Specifies whether SSO is forced or not forced on the customer account. (optional)
# @param boolean $has_account_panel Specifies whether the account has access or does not have access to the account panel. (optional)
# @param boolean $has_improved_events Specifies whether the account has access or does not have access to the improved events. (optional)
# @param boolean $has_improved_ssl_config Whether this customer can view or edit the SSL config. (optional)
# @param boolean $has_openstack_logging Specifies whether the account has enabled or not enabled openstack logging. (optional)
# @param boolean $has_pci Specifies whether the account can edit PCI for a service. (optional)
# @param boolean $has_pci_passwords Specifies whether PCI passwords are required for the account. (optional)
# @param string $ip_whitelist The range of IP addresses authorized to access the customer account. (optional)
# @param string $legal_contact_id The alphanumeric string identifying the account's legal contact. (optional)
# @param string $name The name of the customer, generally the company name. (optional)
# @param string $owner_id The alphanumeric string identifying the account owner. (optional)
# @param string $phone_number The phone number associated with the account. (optional)
# @param string $postal_address The postal address associated with the account. (optional)
# @param string $pricing_plan The pricing plan this customer is under. (optional)
# @param string $pricing_plan_id The alphanumeric string identifying the pricing plan. (optional)
# @param string $security_contact_id The alphanumeric string identifying the account's security contact. (optional)
# @param string $technical_contact_id The alphanumeric string identifying the account's technical contact. (optional)
{
my$params= {
'customer_id'=> {
data_type=> 'string',
description=> 'Alphanumeric string identifying the customer.',
required=> '1',
},
'billing_contact_id'=> {
data_type=> 'string',
description=> 'The alphanumeric string representing the primary billing contact.',
required=> '0',
},
'billing_network_type'=> {
data_type=> 'string',
description=> 'Customer's current network revenue type.',
required=> '0',
},
'billing_ref'=> {
data_type=> 'string',
description=> 'Used for adding purchased orders to customer's account.',
required=> '0',
},
'can_configure_wordpress'=> {
data_type=> 'boolean',
description=> 'Whether this customer can view or edit wordpress.',
required=> '0',
},
'can_reset_passwords'=> {
data_type=> 'boolean',
description=> 'Whether this customer can reset passwords.',
required=> '0',
},
'can_upload_vcl'=> {
data_type=> 'boolean',
description=> 'Whether this customer can upload VCL.',
required=> '0',
},
'force_2fa'=> {
data_type=> 'boolean',
description=> 'Specifies whether 2FA is forced or not forced on the customer account. Logs out non-2FA users once 2FA is force enabled.',
required=> '0',
},
'force_sso'=> {
data_type=> 'boolean',
description=> 'Specifies whether SSO is forced or not forced on the customer account.',
required=> '0',
},
'has_account_panel'=> {
data_type=> 'boolean',
description=> 'Specifies whether the account has access or does not have access to the account panel.',
required=> '0',
},
'has_improved_events'=> {
data_type=> 'boolean',
description=> 'Specifies whether the account has access or does not have access to the improved events.',
required=> '0',
},
'has_improved_ssl_config'=> {
data_type=> 'boolean',
description=> 'Whether this customer can view or edit the SSL config.',
required=> '0',
},
'has_openstack_logging'=> {
data_type=> 'boolean',
description=> 'Specifies whether the account has enabled or not enabled openstack logging.',
required=> '0',
},
'has_pci'=> {
data_type=> 'boolean',
description=> 'Specifies whether the account can edit PCI for a service.',
required=> '0',
},
'has_pci_passwords'=> {
data_type=> 'boolean',
description=> 'Specifies whether PCI passwords are required for the account.',
required=> '0',
},
'ip_whitelist'=> {
data_type=> 'string',
description=> 'The range of IP addresses authorized to access the customer account.',
required=> '0',
},
'legal_contact_id'=> {
data_type=> 'string',
description=> 'The alphanumeric string identifying the account's legal contact.',
required=> '0',
},
'name'=> {
data_type=> 'string',
description=> 'The name of the customer, generally the company name.',
required=> '0',
},
'owner_id'=> {
data_type=> 'string',
description=> 'The alphanumeric string identifying the account owner.',
required=> '0',
},
'phone_number'=> {
data_type=> 'string',
description=> 'The phone number associated with the account.',
required=> '0',
},
'postal_address'=> {
data_type=> 'string',
description=> 'The postal address associated with the account.',
required=> '0',
},
'pricing_plan'=> {
data_type=> 'string',
description=> 'The pricing plan this customer is under.',
required=> '0',
},
'pricing_plan_id'=> {
data_type=> 'string',
description=> 'The alphanumeric string identifying the pricing plan.',
required=> '0',
},
'security_contact_id'=> {
data_type=> 'string',
description=> 'The alphanumeric string identifying the account's security contact.',
required=> '0',
},
'technical_contact_id'=> {
data_type=> 'string',
description=> 'The alphanumeric string identifying the account's technical contact.',