Soenneker.Cloudflare.OpenApiClient 11.0.613

Prefix Reserved
dotnet add package Soenneker.Cloudflare.OpenApiClient --version 11.0.613
                    
NuGet\Install-Package Soenneker.Cloudflare.OpenApiClient -Version 11.0.613
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Cloudflare.OpenApiClient" Version="11.0.613" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Cloudflare.OpenApiClient" Version="11.0.613" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Cloudflare.OpenApiClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Cloudflare.OpenApiClient --version 11.0.613
                    
#r "nuget: Soenneker.Cloudflare.OpenApiClient, 11.0.613"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Cloudflare.OpenApiClient@11.0.613
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Cloudflare.OpenApiClient&version=11.0.613
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Cloudflare.OpenApiClient&version=11.0.613
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Cloudflare.OpenApiClient

A Kiota-generated .NET client for Cloudflare's v4 API.

Installation

dotnet add package Soenneker.Cloudflare.OpenApiClient

For dependency injection, bearer-token configuration, and managed HTTP-client reuse, install Soenneker.Cloudflare.Utils.Client and register its client utility.

dotnet add package Soenneker.Cloudflare.Utils.Client
using Soenneker.Cloudflare.Utils.Client.Registrars;

services.AddCloudflareClientUtilAsSingleton();

Direct construction

using System.Net.Http.Headers;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Cloudflare.OpenApiClient;
using Soenneker.Cloudflare.OpenApiClient.Models;

var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", "your-api-token");

var adapter = new HttpClientRequestAdapter(
    new AnonymousAuthenticationProvider(),
    httpClient: httpClient);

var cloudflare = new CloudflareOpenApiClient(adapter);

Zones0Get200? response = await cloudflare.Zones[zoneId].GetAsync(
    cancellationToken: cancellationToken);

Keep the HttpClient, adapter, and generated client long-lived. Do not attach Cloudflare credentials to an HTTP client that can send requests to unrelated hosts.

Generated surface

The root client mirrors Cloudflare's account-, zone-, user-, and certificate-level API paths. The generated API is very large, and names can reflect schema wording rather than idiomatic C# conventions. Endpoint methods typically accept a request-configuration callback and cancellation token.

Models, request builders, and nullable response shapes can change when Cloudflare's OpenAPI document changes. Review package upgrades when your code depends on generated names. Keep custom behavior outside the generated source tree.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Cloudflare.OpenApiClient:

Package Downloads
Soenneker.Cloudflare.Utils.Client

Thread-safe caching and configuration for generated Cloudflare OpenAPI clients.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.613 8 11/14/2026
11.0.612 226 11/13/2026
11.0.611 300 11/12/2026
11.0.610 381 11/11/2026
11.0.609 1,156 11/11/2026
11.0.608 740 11/10/2026
11.0.607 575 11/10/2026
11.0.606 745 11/7/2026
11.0.605 731 11/6/2026
11.0.604 609 11/5/2026
11.0.603 618 11/4/2026
11.0.602 594 11/3/2026
11.0.601 392 11/3/2026
11.0.600 1,183 11/3/2026
11.0.599 926 11/2/2026
11.0.598 367 11/2/2026
11.0.597 384 11/2/2026
11.0.596 383 11/2/2026
11.0.595 490 10/31/2026
11.0.594 397 10/31/2026
Loading failed

Update Soenneker.Cloudflare.OpenApiClient