Search + K

Command Palette

Search for a command to run...

Sign In

Get Origin Max HTTP Version Setting

GET /zones/{zone_id}/settings/origin_max_http_version
Copy endpoint
https://api.cloudflare.com/client/v4

Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to Enable HTTP/2 to Origin, for more information.). The default value is "2" for all plan types except Enterprise where it is "1".

Parameters

path Path Parameters

Name Type
zone_id required
type CacheRulesIdentifier = string

Responses

200 application/json

Get Origin Max HTTP Version setting response.

never

Client Errors

4XX application/json

Get Origin Max HTTP Version setting response failure.

interface CacheRulesApiResponseCommonFailure {
errors: never;
messages: never;
result: null;
success: false;
}