Set the Split Tunnel exclude list for a device settings profile
PUT
/accounts/{account_id}/devices/policy/{policy_id}/exclude https://api.cloudflare.com/client/v4
Sets the list of routes excluded from the WARP client's tunnel for a specific 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
type TeamsDevicesSplitTunnel = interface TeamsDevicesExcludeSplitTunnelWithAddress {
address:TeamsDevicesSplitTunnelAddress ;
description?:TeamsDevicesSplitTunnelDescription ;
} & {} | interface TeamsDevicesExcludeSplitTunnelWithHost {
description?:TeamsDevicesSplitTunnelDescription ;
host:TeamsDevicesSplitTunnelHost ;
} & {}[]
address:
description?:
} & {} | interface TeamsDevicesExcludeSplitTunnelWithHost {
description?:
host:
} & {}[]
Responses
200 application/json
Set the Split Tunnel exclude list for a device settings profile response.
type TeamsDevicesSplitTunnelResponseCollection = type TeamsDevicesApiResponseCollection = never & { result?: TeamsDevicesSplitTunnel []; }
Client Errors
4XX application/json
Set the Split Tunnel exclude list for a device settings profile response failure.
type TeamsDevicesSplitTunnelResponseCollection = type TeamsDevicesApiResponseCollection = never & { result?: TeamsDevicesSplitTunnel []; } & interface TeamsDevicesApiResponseCommonFailure {
errors:TeamsDevicesMessages ;
messages:TeamsDevicesMessages ;
result: null;
success: false;
}
errors:
messages:
result: null;
success: false;
}