Search + K

Command Palette

Search for a command to run...

Sign In

Set the Local Domain Fallback list for a device settings profile

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

Sets the list of domains to bypass Gateway DNS resolution. These domains will use the specified local DNS resolver instead. This will only apply to the specified device settings profile.

Parameters

path Path Parameters

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

Request Body

application/json required
interface TeamsDevicesFallbackDomain {
description?: string;
dns_server?: TeamsDevicesIp

IPv4 or IPv6 address.

type TeamsDevicesIp = string
[]
;
suffix: string;
}
[]

Responses

200 application/json

Set 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

Set 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;
}