7.16.0 (2026-12-02)
Full Changelog: v7.15.0...v7.16.0
Please ensure you read through the list of changes below. This release restructures several parameter and
response types, changes the pagination type returned by a number of List() methods, and removes request
fields that the API no longer accepts. Review the breaking changes and the migration guide before upgrading.
Breaking Changes
See the v7.16.0 Migration Guide for before/after code examples
and actions needed for each change.
- accounts:
AccountUpdateParamsnow wraps the request body in anAccount accounts.AccountParamfield. The
flatID,Name,ManagedBy, andSettingsfields are removed, along with theAccountUpdateParamsManagedBy
andAccountUpdateParamsSettingstypes. UseAccountParam,AccountManagedByParam, andAccountSettingsParam
instead. The request body sent to the API is unchanged. - alerting: the
URLandSecretfields are removed fromDestinationWebhookUpdateParams.
Alerting.Destinations.Webhooks.Update()now only updates the webhookName. - browser_rendering:
CrawlGetResponseRecord.Jsonchanged frommap[string]interface{}to
CrawlGetResponseRecordsJsonUnion(implemented byCrawlGetResponseRecordsJsonMap,
CrawlGetResponseRecordsJsonArray, andshared.UnionString). - calls:
TURNNewResponse.Keyis renamed toTURNNewResponse.Secret(JSON fieldsecret). - cloudforce_one: the deprecated
CloudforceOne.ThreatEvents.BulkNewRelationships()method is removed, along with
ThreatEventBulkNewRelationshipsParams,ThreatEventBulkNewRelationshipsResponse, and their nested types. - cloudforce_one: the
CustomFeedCount,CustomFeedLimit, andReasonfields and the...MessagesReasonenums
are removed from theThreatSignal*ResponseEnvelopeMessagestypes. - organizations: the
OrganizationAccountGetResponseOrganizationsAPILegacyAccount*types are renamed to
OrganizationAccountGetResponseOrganizationsLegacyAccount*. - pagination: the following
List()andListAutoPaging()methods now return
*pagination.V4PagePaginationArray[...]/*pagination.V4PagePaginationArrayAutoPager[...]instead of
*pagination.SinglePage[...]/*pagination.SinglePageAutoPager[...]:
Hostnames.Settings.TLS.List(),KeylessCertificates.List(),MTLSCertificates.List(),
OriginTLSClientAuth.List(),OriginTLSClientAuth.HostnameCertificates.List(),
OriginTLSClientAuth.ZoneCertificates.List(),Pages.Projects.Domains.List(),Queues.List(), and
ZeroTrust.Networks.VirtualNetworks.List(). - realtime_kit: the
CustomParticipantIDsfield is removed fromActiveSessionKickParticipantsParamsand
ActiveSessionMuteParticipantsParams;ParticipantIDsis now required. The responseData.Actionfields of the
kick and mute methods changed fromstringto typed enums, and theCreatedAt,Email,Name,Picture, and
UpdatedAtfields are removed fromActiveSessionKickParticipantsResponseDataParticipantand
ActiveSessionMuteParticipantsResponseDataParticipant. - realtime_kit: the
CfAccountTagandIsOrgOnKVfields are removed fromAppUpdateAppByIDResponseData. - stream:
WebhookUpdateParams.BodyNotificationURL1andBodyNotificationURL2are replaced by a single
NotificationURLfield. - turnstile: the list-only query fields
Direction,Filter,Order,Page, andPerPageare removed from
WidgetNewParams, along with theWidgetNewParamsDirectionandWidgetNewParamsOrderenums. - turnstile: the
Regionfield is removed fromWidgetUpdateParams, along with theWidgetUpdateParamsRegion
enum. The API no longer acceptsregionon update. - url_scanner: the
ScanNewParamsCountryvaluesCD,CW,GD,GU,HT,LR,MA,MM,MW,TJ, and
UZare removed. - web3: the
ResultInfofield and theHostnameIPFSUniversalPathContentListEntryListResponseEnvelopeResultInfo
type are removed fromHostnameIPFSUniversalPathContentListEntryListResponseEnvelope. - zero_trust:
ZeroTrust.Devices.DeploymentGroups.List()now returns*[]DeploymentGroupinstead of
*pagination.V4PagePaginationArray[DeploymentGroup], andListAutoPaging()is removed. The endpoint returns all
deployment groups in a single response. - zero_trust: the
FallbackDomainParamtype is removed. TheDomainsfield of
DevicePolicyDefaultFallbackDomainUpdateParamsandDevicePolicyCustomFallbackDomainUpdateParamsnow uses
DevicePolicyDefaultFallbackDomainUpdateParamsDomainandDevicePolicyCustomFallbackDomainUpdateParamsDomain. - zero_trust: the
Networkfield is removed fromNetworkSubnetWARPEditParams. The API no longer acceptsnetwork
when editing a WARP subnet. - zero_trust: in the
RiskScoring.Get()andRiskScoring.Summary.Get()envelopeResultInfotypes,Count,
Page,PerPage, andTotalCountchanged fromfloat64toint64, andTotalPagesis removed.
RiskScoringGetResponseEvent.EventDetailschanged frominterface{}tomap[string]interface{}. - zones: the per-method environment
Positiontypes (EnvironmentNewParamsEnvironmentsPosition,
EnvironmentUpdateParamsEnvironmentsPosition,EnvironmentEditParamsEnvironmentsPosition, and the
Environment*ResponseEnvironmentsPositiontypes) are removed.Positionnow uses the shared
rules.ListCursorParam(params) andrules.ListCursor(responses) types, which are restored in this release. - zones:
ZoneHold.IncludeSubdomainschanged fromstringtobool. - params:
d1.DatabaseListParams,zero_trust.GatewayConfigurationUpdateParams,
zero_trust.GatewayConfigurationEditParams,zero_trust.GatewayConfigurationSettingsParam, and
cloudforce_one.ThreatSignalSearchSearchParamsgained slice or map fields and are no longer comparable with==.
Features
- NEW SERVICE:
analytics_engine-- Workers Analytics Engine SQL API (/accounts/{account_id}/analytics_engine/sql)AnalyticsEngine.Sql.Query()
- addressing: add
AddressMaps.Zones.Update()andDelete()methods
(/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{member_zone_id}) - ai_gateway: add
Billing.Topup.GetEligibility()(GET /accounts/{account_id}/ai-gateway/billing/topup/eligibility),
plus the deprecatedBilling.Topup.Eligibility()andBilling.Topup.Limits()methods - alerting: add
Policies.Test()method (POST /accounts/{account_id}/alerting/v3/policies/{policy_id}/test) - alerting: add
Policies.Email.Details()andUnsubscribe()methods
(/accounts/{account_id}/alerting/v3/policies/{policy_id}/email/unsubscribe) - browser_rendering: add
Scriptsub-resource withNew()andExecute()methods
(/accounts/{account_id}/browser-rendering/script) - containers: add
Containers.Usage()method (GET /accounts/{account_id}/containers/usage) - custom_pages: add
PreviewTokens.New()method
(POST /{accounts_or_zones}/{account_or_zone_id}/custom_pages/preview_tokens) - email_security: add
Submissions.New()method (POST /accounts/{account_id}/email-security/submissions) - firewall: add
PayloadLoggingsub-resource withUpdate(),Delete(), andGet()methods
(/{accounts_or_zones}/{account_or_zone_id}/firewall/payload_logging/key) - hyperdrive: add
MTLS.Bind()method (POST /accounts/{account_id}/hyperdrive/mtls/bind) - network_interconnects: add
Interconnects.LOADefaultName()method
(GET /accounts/{account_id}/cni/interconnects/{icon}/loa/default) - security_center: add
Statesub-resource withUpdate()andGet()methods
(/accounts/{account_id}/security-center/state) - spectrum: add
EdgeAlpnProtocolsto app configs, andOriginWorkerID/OriginWorkerNameto PAYG app configs - workers_for_platforms: add
Dispatch.Namespaces.Update()andEdit()methods
(/accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}) - zero_trust: add
Devices.Devices.Update()method (PATCH /accounts/{account_id}/devices/physical-devices/{device_id}) - zero_trust: add
Devices.OverrideCodes.New()method (POST /accounts/{account_id}/devices/override_codes) - zero_trust: add
AlwaysInclude,AlwaysExclude,SpeedTestSettings, andDescriptionto
DevicePolicyCustomNewParams,DevicePolicyCustomEditParams, andDevicePolicyDefaultEditParams, and
FallbackDomainstoDevicePolicyCustomNewParams - zero_trust: add
Regionssub-resource withUpdate(),List(),Delete(), andGet()methods
(/accounts/{account_id}/zerotrust/region) - zero_trust: add
Tunnels.Cloudflared.Configurations.Delete()method
(DELETE /accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations)
Deprecations
- ai_gateway:
Billing.SpendingLimit.Get()andDelete()are deprecated; spending limits can no longer be
created, enabled, or modified. - ai_gateway:
Billing.Topup.Config.Get(),Billing.Topup.Eligibility(), andBilling.Topup.Limits()are
deprecated; useBilling.Topup.GetEligibility().