Search + K

Command Palette

Search for a command to run...

Sign In

Retrieve schema hosts in a zone

Deprecated
GET /zones/{zone_id}/api_gateway/user_schemas/hosts
Copy endpoint
https://api.cloudflare.com/client/v4

Parameters

path Path Parameters

Name Type
zone_id required
type ApiShieldSchemasIdentifier = type ApiShieldIdentifier = string & string

query Query Parameters

Name Type
page

Page number of paginated results.

number
per_page

Maximum number of results per page.

number

Responses

200 application/json

Retrieve schema hosts in a zone response

type ApiShieldApiResponseCollection = never & { result?: ApiShieldResponseUserSchemasHosts
interface ApiShieldResponseUserSchemasHosts {
created_at: ApiShieldSchemasTimestamp;
hosts: string[];
name: string;
schema_id: ApiShieldSchemasUuid;
}
[]
; }

Client Errors

4XX application/json

Retrieve schema hosts in a zone response failure

interface ApiShieldApiResponseCommonFailure {
errors: ApiShieldMessages
type ApiShieldMessages = {
code: number;
documentation_url?: string;
message: string;
source?: { pointer?: string; };
}
[]
;
messages: ApiShieldMessages
type ApiShieldMessages = {
code: number;
documentation_url?: string;
message: string;
source?: { pointer?: string; };
}
[]
;
result: null;
success: false;
}