Search + K

Command Palette

Search for a command to run...

Sign In

Get the Local Domain Fallback list for a device settings profile

GET /accounts/{account_id}/devices/policy/{policy_id}/fallback_domains
Copy endpoint
https://api.cloudflare.com/client/v4

Fetches the list of domains to bypass Gateway DNS resolution from a specified device settings profile. These domains will use the specified local DNS resolver instead.

Parameters

path Path Parameters

Name Type
policy_id required
type TeamsDevicesSchemasUuid = string
account_id required
type TeamsDevicesIdentifier = unknown

Responses

200 application/json

Get the Local Domain Fallback list for a device settings profile response.

type TeamsDevicesFallbackDomainResponseCollection = type TeamsDevicesApiResponseCollection = never & { result?: TeamsDevicesFallbackDomain
interface TeamsDevicesFallbackDomain {
description?: string;
dns_server?: TeamsDevicesIp[];
suffix: string;
}
[]
; }

Client Errors

4XX application/json

Get the Local Domain Fallback list for a device settings profile response failure.

type TeamsDevicesFallbackDomainResponseCollection = type TeamsDevicesApiResponseCollection = never & { result?: TeamsDevicesFallbackDomain
interface TeamsDevicesFallbackDomain {
description?: string;
dns_server?: TeamsDevicesIp[];
suffix: string;
}
[]
; }
& interface TeamsDevicesApiResponseCommonFailure {
errors: TeamsDevicesMessages
type TeamsDevicesMessages = { code: number;message: string; }[]
;
messages: TeamsDevicesMessages
type TeamsDevicesMessages = { code: number;message: string; }[]
;
result: null;
success: false;
}