Policies

List

get

Retrieve client policy/ies.

Query parameters
namestringOptional

Client policy name (optional)

Responses
200
OK
application/json; api-version=1.0
get
GET /api/ClientPolicies HTTP/1.1
Host: 
Accept: */*
[
  {
    "id": 1,
    "adminCreate": "text",
    "adminLastMod": "text",
    "timeCreate": "2025-07-08T09:15:48.506Z",
    "timeLastMod": "2025-07-08T09:15:48.506Z",
    "name": "text",
    "enabled": true,
    "description": "text",
    "order": 1,
    "clientPolicy": {
      "redirection": {
        "enabled": true,
        "gateway": "text",
        "mode": [
          "0 = GatewayMode",
          "1 = GatewaySSLMode",
          "2 = DirectMode",
          "3 = DirectSSLMode"
        ],
        "serverPort": 1,
        "altGateway": "text"
      },
      "session": {
        "primaryConnection": {
          "enabled": true,
          "name": "text",
          "autoLogin": true,
          "authenticationType": [
            "0 = Credentials",
            "1 = SingleSignOn",
            "2 = SmartCard",
            "3 = Web",
            "4 = WebCredentials"
          ],
          "savePassword": true,
          "domain": "text"
        },
        "secondaryConnections": {
          "enabled": true,
          "connectionList": [
            {
              "mode": [
                "0 = GatewayMode",
                "1 = DirectMode",
                "2 = GatewaySSLMode",
                "3 = DirectSSLMode"
              ],
              "server": "text",
              "serverPort": 1
            }
          ]
        },
        "reconnection": {
          "enabled": true,
          "enableReconnection": true,
          "connectionRetries": 1,
          "connectionBannerDelay": 1
        },
        "computerName": {
          "enabled": true,
          "overrideComputerName": "text"
        },
        "connectionAdvancedSettings": {
          "enabled": true,
          "connectionTimeout": 1,
          "connectionBannerDelay": 1,
          "showDesktopTimeout": 1
        },
        "webAuthentication": {
          "enabled": true,
          "defaultOsBrowser": true,
          "openBrowserOnLogout": true
        },
        "multiFactorAuthentication": {
          "enabled": true,
          "rememberLastUsedMethod": true
        },
        "sessionPreLaunch": {
          "enabled": true,
          "preLaunchMode": [
            "0 = Off",
            "1 = Basic",
            "2 = MachineLearning"
          ],
          "preLaunchExclude": [
            "text"
          ]
        },
        "localProxyAddress": {
          "enabled": true,
          "useLocalHostProxyIP": true
        },
        "settings": {
          "enabled": true,
          "colorDepths": [
            "0 = Colors256",
            "1 = HighColor15Bit",
            "2 = HighColor16Bit",
            "3 = TrueColor24Bit",
            "4 = HighestQuality32Bit"
          ],
          "graphicsAcceleration": [
            "0 = None",
            "1 = Basic",
            "2 = RemoteFx",
            "3 = RemoteFxAdaptive",
            "4 = AVCAdaptive"
          ]
        },
        "multiMonitor": {
          "enabled": true,
          "displayConfig": [
            "0 = Primary",
            "1 = All",
            "2 = Selected"
          ]
        },
        "publishedApplications": {
          "enabled": true,
          "usePrimaryMonitor": true,
          "useDynamicDesktopResizing": true,
          "useAvailAreaForAppSingleMonitor": true
        },
        "desktopOptions": {
          "enabled": true,
          "smartSizing": [
            "0 = Disabled",
            "1 = Scale",
            "2 = Resize"
          ],
          "embedDesktop": true,
          "spanDesktops": true,
          "fullScreenBar": [
            "0 = DoNotShow",
            "1 = ShowPinned",
            "2 = ShowUnPinned"
          ]
        },
        "browser": {
          "enabled": true,
          "browserOpenIn": [
            "0 = SameTab",
            "1 = NewTab"
          ]
        },
        "printing": {
          "enabled": true,
          "redirectPrinterTech": [
            "0 = None",
            "1 = RasUniversalPrintingTechnology",
            "2 = MicrosoftBasicPrintingTechnology",
            "3 = RasUniversalPrintingAndMsBasicTechnologies"
          ],
          "redirectPrinters": [
            "0 = All",
            "1 = DefaultOnly",
            "2 = SpecificOnly"
          ],
          "redirectPrintersList": [
            "text"
          ],
          "printingOptions": {
            "dataFormat": [
              "0 = ViewPDF_ExtApp",
              "1 = EMF",
              "2 = BMP",
              "4 = PrintPDF_ExtApp",
              "5 = PrintPDF"
            ],
            "printerPreference": [
              "0 = ServerPrefAllPrinters",
              "1 = ClientPrefAllPrinters",
              "2 = ClientPrefSpecificPrinters"
            ],
            "specificPreferredPrinter": "text"
          },
          "defaultPrintingSettings": {
            "defaultPrinter": "text",
            "defaultPrinterTech": [
              "0 = None",
              "1 = RasUniversalPrintingTechnology",
              "2 = MicrosoftBasicPrintingTechnology",
              "3 = RasUniversalPrintingAndMsBasicTechnologies"
            ],
            "forceTime": 1,
            "matchExactPrinterName": true,
            "updateRemoteDefPrinter": true
          }
        },
        "scanning": {
          "enabled": true,
          "scanTech": [
            "0 = None",
            "1 = WIA",
            "2 = TWAIN",
            "3 = WIAandTWAIN"
          ],
          "scanRedirect": [
            "0 = All",
            "1 = SpecificOnly"
          ],
          "scanListTwain": [
            "text"
          ],
          "scanListWia": [
            "text"
          ]
        },
        "audio": {
          "enabled": true,
          "audioModes": [
            "0 = BringToThisComputer",
            "1 = DoNotPlay",
            "2 = LeaveAtRemoteComputer"
          ],
          "audioQuality": [
            "0 = AdjustDynamically",
            "1 = UseMediumQuality",
            "2 = UseUncompressedQuality"
          ],
          "audioRec": true
        },
        "keyboard": {
          "enabled": true,
          "keyboardWindow": [
            "0 = LocalComputer",
            "1 = RemoteComputer",
            "2 = FullScreenMode"
          ],
          "sendUnicodeChars": true
        },
        "clipboard": {
          "enabled": true,
          "clipboardDirection": [
            "0 = None",
            "1 = ClientToServer",
            "2 = ServerToClient",
            "3 = Bidirectional"
          ],
          "limitClipboardToTextOnly": [
            "0 = NoLimit",
            "1 = ClientToServer",
            "2 = ServerToClient",
            "3 = BothDirections"
          ]
        },
        "diskDrives": {
          "enabled": true,
          "redirectDrives": true,
          "dynamicDrives": true,
          "redirectToDrives": [
            "text"
          ],
          "redirectReadonlyDrives": true,
          "useAllDrives": true,
          "driveCacheMode": [
            "0 = Disable",
            "1 = Enable",
            "2 = Fast"
          ]
        },
        "devices": {
          "enabled": true,
          "redirectDevices": true,
          "dynamicDevices": true,
          "useAllDevices": true,
          "redirectToDevices": [
            "text"
          ]
        },
        "ports": {
          "enabled": true,
          "redirectCOMPorts": true
        },
        "smartCards": {
          "enabled": true,
          "redirectSmartCards": true
        },
        "windowsTouchInput": {
          "enabled": true,
          "touchInput": true
        },
        "videoCaptureDevices": {
          "enabled": true,
          "enableCameras": true,
          "dynamicCameras": true,
          "videoCaptureUseAllDevices": true,
          "camerasIDs": [
            "text"
          ]
        },
        "avdMultimediaRedirection": {
          "enabled": true,
          "avdMultimediaRedir": true
        },
        "fileTransfer": {
          "enabled": true,
          "fileTransferMode": [
            "0 = Disabled",
            "1 = ClientToServer",
            "2 = ServerToClient",
            "3 = Bidirectional"
          ]
        },
        "performance": {
          "enabled": true,
          "netType": [
            "0 = Modem",
            "1 = LowSpeedBroadband",
            "2 = Satellite",
            "3 = HighSpeedBroadband",
            "4 = WAN",
            "5 = LAN",
            "6 = DetectConnectionQualityAuto"
          ],
          "desktopBackground": true,
          "fontSmoothing": true,
          "windowMenuAnimation": true,
          "desktopComposition": true,
          "themes": true,
          "bitmapCaching": true,
          "moveSizeFullDrag": true,
          "showContent": true
        },
        "compression": {
          "enabled": true,
          "compress": true,
          "scanningCompression": [
            "0 = CompressionDisabled",
            "1 = BestSpeed",
            "2 = BestSize",
            "3 = BasedOnConnectionSpeed"
          ],
          "printingCompression": [
            "0 = CompressionDisabled",
            "1 = BestSpeed",
            "2 = BestSize",
            "3 = BasedOnConnectionSpeed"
          ]
        },
        "network": {
          "enabled": true,
          "useProxyServer": true,
          "proxyHost": "text",
          "proxyPort": 1,
          "proxyAuthentication": true,
          "proxyUseLogonCredentials": true,
          "proxyUsername": "text",
          "proxyType": [
            "0 = SOCKS4",
            "1 = SOCKS4A",
            "2 = SOCKS5",
            "3 = HTTP1_1"
          ]
        },
        "advancedSettings": {
          "enabled": true,
          "useClientColors": true,
          "useClientSettings": true,
          "createShrtCut": true,
          "registerExt": true,
          "urlRedirection": true,
          "mailRedirection": true,
          "credAlwaysAsk": true,
          "allowSrvCmd": true,
          "promptSrvCmd": true,
          "credSSP": true,
          "redirPOS": true,
          "pre2000Cred": true,
          "disableRUDP": true,
          "doNotShowDriveRedirectionDlg": true
        },
        "serverAuthentication": {
          "enabled": true,
          "sessionAuthFailureAction": [
            "0 = Connect",
            "1 = DoNotConnect",
            "2 = Warn"
          ]
        }
      },
      "clientOptions": {
        "enabled": true,
        "appearance": {
          "enabled": true,
          "uiType": [
            "0 = Modern",
            "1 = Classic",
            "2 = User"
          ],
          "promptSwitchToModern": true
        },
        "connection": {
          "enabled": true,
          "connectionBannerType": [
            "0 = SplashWindow",
            "1 = TaskBarToastWindow",
            "2 = None"
          ],
          "autoRefreshFarms": true,
          "autoRefreshTime_Mins": 1,
          "whenAllSessionClosedAction": [
            "0 = Nothing",
            "1 = LockWorkstation",
            "2 = LogOff"
          ]
        },
        "logging": {
          "enabled": true,
          "logLevel": [
            "3 = Standard",
            "4 = Extended",
            "5 = Verbose"
          ],
          "loggingStartDateTime": "2025-07-08T09:15:48.506Z",
          "loggingDuration": 1,
          "allowViewLog": true,
          "allowClearLog": true
        },
        "pcKeyboard": {
          "enabled": true,
          "forcePCKeybd": true,
          "pcKeybd": [
            "1028 = ChineseTraditional",
            "1031 = German",
            "1033 = EnglishUS",
            "1034 = Spanish",
            "1036 = French",
            "1040 = Italian",
            "1041 = Japanese",
            "1042 = Korean",
            "1043 = Dutch",
            "1046 = PortugueseBrazil",
            "1049 = Russian",
            "1053 = Swedish",
            "1082 = Maltese",
            "2052 = ChineseSimplified",
            "2057 = EnglishUK",
            "2068 = NorwegianNynorsk",
            "2070 = Portuguese",
            "3084 = FrenchCanada"
          ]
        },
        "update": {
          "enabled": true,
          "checkForUpdateOnLaunch": true,
          "updateClientXmlUrl": "text",
          "updateAVDClientXMLURL": "text"
        },
        "singleSignOn": {
          "enabled": true,
          "forceThirdPartySSO": true,
          "ssoProvGUID": "text"
        },
        "advanced": {
          "enabled": true,
          "global": {
            "enabled": true,
            "showFolders": true,
            "minimizeToTrayOnClose": true,
            "graphicsAccel": true,
            "clientWorkAreaBackground": true,
            "sslNoWarning": true,
            "swapMouse": true,
            "dpiAware": true,
            "autoAddFarm": true,
            "dontPromptAutoAddFarm": true,
            "suppErrMsgs": true,
            "clearCookies": true,
            "turnOffUDPOnClient": true
          },
          "language": {
            "enabled": true,
            "lang": [
              "0 = Default",
              "1 = English",
              "2 = German",
              "3 = Japanese",
              "5 = French",
              "6 = Spanish",
              "7 = Italian",
              "8 = Portuguese",
              "9 = ChineseSimplified",
              "10 = ChineseTraditional",
              "11 = Korean",
              "12 = Dutch"
            ]
          },
          "printing": {
            "enabled": true,
            "printInstallFonts": true,
            "printRawSupport": true,
            "allowEMFRasterization": true,
            "printUseCache": true,
            "printRefreshCache": true,
            "printUseFontsCache": true
          },
          "windowsClient": {
            "enabled": true,
            "autohide": true,
            "autoLaunch": true
          },
          "remoteFxUsbRedirection": {
            "enabled": true,
            "remoteFXUSBRedir": true
          },
          "customerExperienceProgram": {
            "enabled": true,
            "participateInCEP": true
          }
        }
      },
      "controlSettings": {
        "controlSettingsConnections": {
          "enabled": true,
          "dontAddNewASXGConns": true,
          "dontAddNewStdConns": true
        },
        "credentials": {
          "enabled": true,
          "dontSaveUsername": true,
          "dontSavePwds": true,
          "dontChangePwds": true
        },
        "importExport": {
          "enabled": true,
          "dontImportExport": true,
          "dontImport": true,
          "dontExport": true
        }
      }
    },
    "version": 1,
    "assignment": {
      "rules": [
        {
          "id": 1,
          "priority": 1,
          "enabled": true,
          "name": "text",
          "description": "text",
          "criteria": {
            "securityPrincipals": {
              "enabled": true,
              "matchingMode": [
                "0 = IsNotOneOfTheFollowing",
                "1 = IsOneOfTheFollowing"
              ],
              "members": [
                {
                  "account": "text",
                  "type": [
                    "1 = User",
                    "2 = Group",
                    "3 = ForeignSecurityPrincipal",
                    "4 = Computer"
                  ],
                  "sid": "text"
                }
              ]
            },
            "gateways": {
              "enabled": true,
              "matchingMode": [
                "0 = IsNotOneOfTheFollowing",
                "1 = IsOneOfTheFollowing"
              ],
              "members": [
                {
                  "gatewayIP": "text"
                }
              ]
            },
            "oSs": {
              "enabled": true,
              "matchingMode": [
                "0 = IsNotOneOfTheFollowing",
                "1 = IsOneOfTheFollowing"
              ],
              "allowedOSes": {
                "chrome": true,
                "android": true,
                "webClient": true,
                "iOS": true,
                "linux": true,
                "mac": true,
                "wyse": true,
                "windows": true
              }
            },
            "iPs": {
              "enabled": true,
              "matchingMode": [
                "0 = IsNotOneOfTheFollowing",
                "1 = IsOneOfTheFollowing"
              ],
              "allowedIPs": {
                "iPv4s": [
                  {
                    "from": "text",
                    "to": "text"
                  }
                ],
                "iPv6s": [
                  {
                    "from": "text",
                    "to": "text"
                  }
                ]
              }
            },
            "hardwareIDs": {
              "enabled": true,
              "matchingMode": [
                "0 = IsNotOneOfTheFollowing",
                "1 = IsOneOfTheFollowing"
              ],
              "members": [
                {
                  "hardwareID": "text"
                }
              ]
            },
            "access": [
              "0 = DenyCriteriaWhen",
              "1 = AllowCriteriaWhen"
            ]
          }
        }
      ],
      "default": [
        "0 = Deny",
        "1 = Allow"
      ]
    }
  }
]

Create

post

Add a new client policy.

Body

Create a new client policy

namestring | nullableRequired

Name of the new client policy.

enabledboolean | nullableOptional

Whether the new client policy will be enabled or disabled.

descriptionstring | nullableOptional

Description for the new client policy.

Responses
201
Created
application/json; api-version=1.0
post
POST /api/ClientPolicies HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 51

{
  "name": "text",
  "enabled": true,
  "description": "text"
}
{
  "id": 1,
  "adminCreate": "text",
  "adminLastMod": "text",
  "timeCreate": "2025-07-08T09:15:48.506Z",
  "timeLastMod": "2025-07-08T09:15:48.506Z",
  "name": "text",
  "enabled": true,
  "description": "text",
  "order": 1,
  "clientPolicy": {
    "redirection": {
      "enabled": true,
      "gateway": "text",
      "mode": [
        "0 = GatewayMode",
        "1 = GatewaySSLMode",
        "2 = DirectMode",
        "3 = DirectSSLMode"
      ],
      "serverPort": 1,
      "altGateway": "text"
    },
    "session": {
      "primaryConnection": {
        "enabled": true,
        "name": "text",
        "autoLogin": true,
        "authenticationType": [
          "0 = Credentials",
          "1 = SingleSignOn",
          "2 = SmartCard",
          "3 = Web",
          "4 = WebCredentials"
        ],
        "savePassword": true,
        "domain": "text"
      },
      "secondaryConnections": {
        "enabled": true,
        "connectionList": [
          {
            "mode": [
              "0 = GatewayMode",
              "1 = DirectMode",
              "2 = GatewaySSLMode",
              "3 = DirectSSLMode"
            ],
            "server": "text",
            "serverPort": 1
          }
        ]
      },
      "reconnection": {
        "enabled": true,
        "enableReconnection": true,
        "connectionRetries": 1,
        "connectionBannerDelay": 1
      },
      "computerName": {
        "enabled": true,
        "overrideComputerName": "text"
      },
      "connectionAdvancedSettings": {
        "enabled": true,
        "connectionTimeout": 1,
        "connectionBannerDelay": 1,
        "showDesktopTimeout": 1
      },
      "webAuthentication": {
        "enabled": true,
        "defaultOsBrowser": true,
        "openBrowserOnLogout": true
      },
      "multiFactorAuthentication": {
        "enabled": true,
        "rememberLastUsedMethod": true
      },
      "sessionPreLaunch": {
        "enabled": true,
        "preLaunchMode": [
          "0 = Off",
          "1 = Basic",
          "2 = MachineLearning"
        ],
        "preLaunchExclude": [
          "text"
        ]
      },
      "localProxyAddress": {
        "enabled": true,
        "useLocalHostProxyIP": true
      },
      "settings": {
        "enabled": true,
        "colorDepths": [
          "0 = Colors256",
          "1 = HighColor15Bit",
          "2 = HighColor16Bit",
          "3 = TrueColor24Bit",
          "4 = HighestQuality32Bit"
        ],
        "graphicsAcceleration": [
          "0 = None",
          "1 = Basic",
          "2 = RemoteFx",
          "3 = RemoteFxAdaptive",
          "4 = AVCAdaptive"
        ]
      },
      "multiMonitor": {
        "enabled": true,
        "displayConfig": [
          "0 = Primary",
          "1 = All",
          "2 = Selected"
        ]
      },
      "publishedApplications": {
        "enabled": true,
        "usePrimaryMonitor": true,
        "useDynamicDesktopResizing": true,
        "useAvailAreaForAppSingleMonitor": true
      },
      "desktopOptions": {
        "enabled": true,
        "smartSizing": [
          "0 = Disabled",
          "1 = Scale",
          "2 = Resize"
        ],
        "embedDesktop": true,
        "spanDesktops": true,
        "fullScreenBar": [
          "0 = DoNotShow",
          "1 = ShowPinned",
          "2 = ShowUnPinned"
        ]
      },
      "browser": {
        "enabled": true,
        "browserOpenIn": [
          "0 = SameTab",
          "1 = NewTab"
        ]
      },
      "printing": {
        "enabled": true,
        "redirectPrinterTech": [
          "0 = None",
          "1 = RasUniversalPrintingTechnology",
          "2 = MicrosoftBasicPrintingTechnology",
          "3 = RasUniversalPrintingAndMsBasicTechnologies"
        ],
        "redirectPrinters": [
          "0 = All",
          "1 = DefaultOnly",
          "2 = SpecificOnly"
        ],
        "redirectPrintersList": [
          "text"
        ],
        "printingOptions": {
          "dataFormat": [
            "0 = ViewPDF_ExtApp",
            "1 = EMF",
            "2 = BMP",
            "4 = PrintPDF_ExtApp",
            "5 = PrintPDF"
          ],
          "printerPreference": [
            "0 = ServerPrefAllPrinters",
            "1 = ClientPrefAllPrinters",
            "2 = ClientPrefSpecificPrinters"
          ],
          "specificPreferredPrinter": "text"
        },
        "defaultPrintingSettings": {
          "defaultPrinter": "text",
          "defaultPrinterTech": [
            "0 = None",
            "1 = RasUniversalPrintingTechnology",
            "2 = MicrosoftBasicPrintingTechnology",
            "3 = RasUniversalPrintingAndMsBasicTechnologies"
          ],
          "forceTime": 1,
          "matchExactPrinterName": true,
          "updateRemoteDefPrinter": true
        }
      },
      "scanning": {
        "enabled": true,
        "scanTech": [
          "0 = None",
          "1 = WIA",
          "2 = TWAIN",
          "3 = WIAandTWAIN"
        ],
        "scanRedirect": [
          "0 = All",
          "1 = SpecificOnly"
        ],
        "scanListTwain": [
          "text"
        ],
        "scanListWia": [
          "text"
        ]
      },
      "audio": {
        "enabled": true,
        "audioModes": [
          "0 = BringToThisComputer",
          "1 = DoNotPlay",
          "2 = LeaveAtRemoteComputer"
        ],
        "audioQuality": [
          "0 = AdjustDynamically",
          "1 = UseMediumQuality",
          "2 = UseUncompressedQuality"
        ],
        "audioRec": true
      },
      "keyboard": {
        "enabled": true,
        "keyboardWindow": [
          "0 = LocalComputer",
          "1 = RemoteComputer",
          "2 = FullScreenMode"
        ],
        "sendUnicodeChars": true
      },
      "clipboard": {
        "enabled": true,
        "clipboardDirection": [
          "0 = None",
          "1 = ClientToServer",
          "2 = ServerToClient",
          "3 = Bidirectional"
        ],
        "limitClipboardToTextOnly": [
          "0 = NoLimit",
          "1 = ClientToServer",
          "2 = ServerToClient",
          "3 = BothDirections"
        ]
      },
      "diskDrives": {
        "enabled": true,
        "redirectDrives": true,
        "dynamicDrives": true,
        "redirectToDrives": [
          "text"
        ],
        "redirectReadonlyDrives": true,
        "useAllDrives": true,
        "driveCacheMode": [
          "0 = Disable",
          "1 = Enable",
          "2 = Fast"
        ]
      },
      "devices": {
        "enabled": true,
        "redirectDevices": true,
        "dynamicDevices": true,
        "useAllDevices": true,
        "redirectToDevices": [
          "text"
        ]
      },
      "ports": {
        "enabled": true,
        "redirectCOMPorts": true
      },
      "smartCards": {
        "enabled": true,
        "redirectSmartCards": true
      },
      "windowsTouchInput": {
        "enabled": true,
        "touchInput": true
      },
      "videoCaptureDevices": {
        "enabled": true,
        "enableCameras": true,
        "dynamicCameras": true,
        "videoCaptureUseAllDevices": true,
        "camerasIDs": [
          "text"
        ]
      },
      "avdMultimediaRedirection": {
        "enabled": true,
        "avdMultimediaRedir": true
      },
      "fileTransfer": {
        "enabled": true,
        "fileTransferMode": [
          "0 = Disabled",
          "1 = ClientToServer",
          "2 = ServerToClient",
          "3 = Bidirectional"
        ]
      },
      "performance": {
        "enabled": true,
        "netType": [
          "0 = Modem",
          "1 = LowSpeedBroadband",
          "2 = Satellite",
          "3 = HighSpeedBroadband",
          "4 = WAN",
          "5 = LAN",
          "6 = DetectConnectionQualityAuto"
        ],
        "desktopBackground": true,
        "fontSmoothing": true,
        "windowMenuAnimation": true,
        "desktopComposition": true,
        "themes": true,
        "bitmapCaching": true,
        "moveSizeFullDrag": true,
        "showContent": true
      },
      "compression": {
        "enabled": true,
        "compress": true,
        "scanningCompression": [
          "0 = CompressionDisabled",
          "1 = BestSpeed",
          "2 = BestSize",
          "3 = BasedOnConnectionSpeed"
        ],
        "printingCompression": [
          "0 = CompressionDisabled",
          "1 = BestSpeed",
          "2 = BestSize",
          "3 = BasedOnConnectionSpeed"
        ]
      },
      "network": {
        "enabled": true,
        "useProxyServer": true,
        "proxyHost": "text",
        "proxyPort": 1,
        "proxyAuthentication": true,
        "proxyUseLogonCredentials": true,
        "proxyUsername": "text",
        "proxyType": [
          "0 = SOCKS4",
          "1 = SOCKS4A",
          "2 = SOCKS5",
          "3 = HTTP1_1"
        ]
      },
      "advancedSettings": {
        "enabled": true,
        "useClientColors": true,
        "useClientSettings": true,
        "createShrtCut": true,
        "registerExt": true,
        "urlRedirection": true,
        "mailRedirection": true,
        "credAlwaysAsk": true,
        "allowSrvCmd": true,
        "promptSrvCmd": true,
        "credSSP": true,
        "redirPOS": true,
        "pre2000Cred": true,
        "disableRUDP": true,
        "doNotShowDriveRedirectionDlg": true
      },
      "serverAuthentication": {
        "enabled": true,
        "sessionAuthFailureAction": [
          "0 = Connect",
          "1 = DoNotConnect",
          "2 = Warn"
        ]
      }
    },
    "clientOptions": {
      "enabled": true,
      "appearance": {
        "enabled": true,
        "uiType": [
          "0 = Modern",
          "1 = Classic",
          "2 = User"
        ],
        "promptSwitchToModern": true
      },
      "connection": {
        "enabled": true,
        "connectionBannerType": [
          "0 = SplashWindow",
          "1 = TaskBarToastWindow",
          "2 = None"
        ],
        "autoRefreshFarms": true,
        "autoRefreshTime_Mins": 1,
        "whenAllSessionClosedAction": [
          "0 = Nothing",
          "1 = LockWorkstation",
          "2 = LogOff"
        ]
      },
      "logging": {
        "enabled": true,
        "logLevel": [
          "3 = Standard",
          "4 = Extended",
          "5 = Verbose"
        ],
        "loggingStartDateTime": "2025-07-08T09:15:48.506Z",
        "loggingDuration": 1,
        "allowViewLog": true,
        "allowClearLog": true
      },
      "pcKeyboard": {
        "enabled": true,
        "forcePCKeybd": true,
        "pcKeybd": [
          "1028 = ChineseTraditional",
          "1031 = German",
          "1033 = EnglishUS",
          "1034 = Spanish",
          "1036 = French",
          "1040 = Italian",
          "1041 = Japanese",
          "1042 = Korean",
          "1043 = Dutch",
          "1046 = PortugueseBrazil",
          "1049 = Russian",
          "1053 = Swedish",
          "1082 = Maltese",
          "2052 = ChineseSimplified",
          "2057 = EnglishUK",
          "2068 = NorwegianNynorsk",
          "2070 = Portuguese",
          "3084 = FrenchCanada"
        ]
      },
      "update": {
        "enabled": true,
        "checkForUpdateOnLaunch": true,
        "updateClientXmlUrl": "text",
        "updateAVDClientXMLURL": "text"
      },
      "singleSignOn": {
        "enabled": true,
        "forceThirdPartySSO": true,
        "ssoProvGUID": "text"
      },
      "advanced": {
        "enabled": true,
        "global": {
          "enabled": true,
          "showFolders": true,
          "minimizeToTrayOnClose": true,
          "graphicsAccel": true,
          "clientWorkAreaBackground": true,
          "sslNoWarning": true,
          "swapMouse": true,
          "dpiAware": true,
          "autoAddFarm": true,
          "dontPromptAutoAddFarm": true,
          "suppErrMsgs": true,
          "clearCookies": true,
          "turnOffUDPOnClient": true
        },
        "language": {
          "enabled": true,
          "lang": [
            "0 = Default",
            "1 = English",
            "2 = German",
            "3 = Japanese",
            "5 = French",
            "6 = Spanish",
            "7 = Italian",
            "8 = Portuguese",
            "9 = ChineseSimplified",
            "10 = ChineseTraditional",
            "11 = Korean",
            "12 = Dutch"
          ]
        },
        "printing": {
          "enabled": true,
          "printInstallFonts": true,
          "printRawSupport": true,
          "allowEMFRasterization": true,
          "printUseCache": true,
          "printRefreshCache": true,
          "printUseFontsCache": true
        },
        "windowsClient": {
          "enabled": true,
          "autohide": true,
          "autoLaunch": true
        },
        "remoteFxUsbRedirection": {
          "enabled": true,
          "remoteFXUSBRedir": true
        },
        "customerExperienceProgram": {
          "enabled": true,
          "participateInCEP": true
        }
      }
    },
    "controlSettings": {
      "controlSettingsConnections": {
        "enabled": true,
        "dontAddNewASXGConns": true,
        "dontAddNewStdConns": true
      },
      "credentials": {
        "enabled": true,
        "dontSaveUsername": true,
        "dontSavePwds": true,
        "dontChangePwds": true
      },
      "importExport": {
        "enabled": true,
        "dontImportExport": true,
        "dontImport": true,
        "dontExport": true
      }
    }
  },
  "version": 1,
  "assignment": {
    "rules": [
      {
        "id": 1,
        "priority": 1,
        "enabled": true,
        "name": "text",
        "description": "text",
        "criteria": {
          "securityPrincipals": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "members": [
              {
                "account": "text",
                "type": [
                  "1 = User",
                  "2 = Group",
                  "3 = ForeignSecurityPrincipal",
                  "4 = Computer"
                ],
                "sid": "text"
              }
            ]
          },
          "gateways": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "members": [
              {
                "gatewayIP": "text"
              }
            ]
          },
          "oSs": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "allowedOSes": {
              "chrome": true,
              "android": true,
              "webClient": true,
              "iOS": true,
              "linux": true,
              "mac": true,
              "wyse": true,
              "windows": true
            }
          },
          "iPs": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "allowedIPs": {
              "iPv4s": [
                {
                  "from": "text",
                  "to": "text"
                }
              ],
              "iPv6s": [
                {
                  "from": "text",
                  "to": "text"
                }
              ]
            }
          },
          "hardwareIDs": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "members": [
              {
                "hardwareID": "text"
              }
            ]
          },
          "access": [
            "0 = DenyCriteriaWhen",
            "1 = AllowCriteriaWhen"
          ]
        }
      }
    ],
    "default": [
      "0 = Deny",
      "1 = Allow"
    ]
  }
}

Get

get

Retrieve a specific client policy by ID.

Path parameters
idinteger · int32Required

Client Policy ID

Responses
200
OK
application/json; api-version=1.0
get
GET /api/ClientPolicies/{id} HTTP/1.1
Host: 
Accept: */*
{
  "id": 1,
  "adminCreate": "text",
  "adminLastMod": "text",
  "timeCreate": "2025-07-08T09:15:48.506Z",
  "timeLastMod": "2025-07-08T09:15:48.506Z",
  "name": "text",
  "enabled": true,
  "description": "text",
  "order": 1,
  "clientPolicy": {
    "redirection": {
      "enabled": true,
      "gateway": "text",
      "mode": [
        "0 = GatewayMode",
        "1 = GatewaySSLMode",
        "2 = DirectMode",
        "3 = DirectSSLMode"
      ],
      "serverPort": 1,
      "altGateway": "text"
    },
    "session": {
      "primaryConnection": {
        "enabled": true,
        "name": "text",
        "autoLogin": true,
        "authenticationType": [
          "0 = Credentials",
          "1 = SingleSignOn",
          "2 = SmartCard",
          "3 = Web",
          "4 = WebCredentials"
        ],
        "savePassword": true,
        "domain": "text"
      },
      "secondaryConnections": {
        "enabled": true,
        "connectionList": [
          {
            "mode": [
              "0 = GatewayMode",
              "1 = DirectMode",
              "2 = GatewaySSLMode",
              "3 = DirectSSLMode"
            ],
            "server": "text",
            "serverPort": 1
          }
        ]
      },
      "reconnection": {
        "enabled": true,
        "enableReconnection": true,
        "connectionRetries": 1,
        "connectionBannerDelay": 1
      },
      "computerName": {
        "enabled": true,
        "overrideComputerName": "text"
      },
      "connectionAdvancedSettings": {
        "enabled": true,
        "connectionTimeout": 1,
        "connectionBannerDelay": 1,
        "showDesktopTimeout": 1
      },
      "webAuthentication": {
        "enabled": true,
        "defaultOsBrowser": true,
        "openBrowserOnLogout": true
      },
      "multiFactorAuthentication": {
        "enabled": true,
        "rememberLastUsedMethod": true
      },
      "sessionPreLaunch": {
        "enabled": true,
        "preLaunchMode": [
          "0 = Off",
          "1 = Basic",
          "2 = MachineLearning"
        ],
        "preLaunchExclude": [
          "text"
        ]
      },
      "localProxyAddress": {
        "enabled": true,
        "useLocalHostProxyIP": true
      },
      "settings": {
        "enabled": true,
        "colorDepths": [
          "0 = Colors256",
          "1 = HighColor15Bit",
          "2 = HighColor16Bit",
          "3 = TrueColor24Bit",
          "4 = HighestQuality32Bit"
        ],
        "graphicsAcceleration": [
          "0 = None",
          "1 = Basic",
          "2 = RemoteFx",
          "3 = RemoteFxAdaptive",
          "4 = AVCAdaptive"
        ]
      },
      "multiMonitor": {
        "enabled": true,
        "displayConfig": [
          "0 = Primary",
          "1 = All",
          "2 = Selected"
        ]
      },
      "publishedApplications": {
        "enabled": true,
        "usePrimaryMonitor": true,
        "useDynamicDesktopResizing": true,
        "useAvailAreaForAppSingleMonitor": true
      },
      "desktopOptions": {
        "enabled": true,
        "smartSizing": [
          "0 = Disabled",
          "1 = Scale",
          "2 = Resize"
        ],
        "embedDesktop": true,
        "spanDesktops": true,
        "fullScreenBar": [
          "0 = DoNotShow",
          "1 = ShowPinned",
          "2 = ShowUnPinned"
        ]
      },
      "browser": {
        "enabled": true,
        "browserOpenIn": [
          "0 = SameTab",
          "1 = NewTab"
        ]
      },
      "printing": {
        "enabled": true,
        "redirectPrinterTech": [
          "0 = None",
          "1 = RasUniversalPrintingTechnology",
          "2 = MicrosoftBasicPrintingTechnology",
          "3 = RasUniversalPrintingAndMsBasicTechnologies"
        ],
        "redirectPrinters": [
          "0 = All",
          "1 = DefaultOnly",
          "2 = SpecificOnly"
        ],
        "redirectPrintersList": [
          "text"
        ],
        "printingOptions": {
          "dataFormat": [
            "0 = ViewPDF_ExtApp",
            "1 = EMF",
            "2 = BMP",
            "4 = PrintPDF_ExtApp",
            "5 = PrintPDF"
          ],
          "printerPreference": [
            "0 = ServerPrefAllPrinters",
            "1 = ClientPrefAllPrinters",
            "2 = ClientPrefSpecificPrinters"
          ],
          "specificPreferredPrinter": "text"
        },
        "defaultPrintingSettings": {
          "defaultPrinter": "text",
          "defaultPrinterTech": [
            "0 = None",
            "1 = RasUniversalPrintingTechnology",
            "2 = MicrosoftBasicPrintingTechnology",
            "3 = RasUniversalPrintingAndMsBasicTechnologies"
          ],
          "forceTime": 1,
          "matchExactPrinterName": true,
          "updateRemoteDefPrinter": true
        }
      },
      "scanning": {
        "enabled": true,
        "scanTech": [
          "0 = None",
          "1 = WIA",
          "2 = TWAIN",
          "3 = WIAandTWAIN"
        ],
        "scanRedirect": [
          "0 = All",
          "1 = SpecificOnly"
        ],
        "scanListTwain": [
          "text"
        ],
        "scanListWia": [
          "text"
        ]
      },
      "audio": {
        "enabled": true,
        "audioModes": [
          "0 = BringToThisComputer",
          "1 = DoNotPlay",
          "2 = LeaveAtRemoteComputer"
        ],
        "audioQuality": [
          "0 = AdjustDynamically",
          "1 = UseMediumQuality",
          "2 = UseUncompressedQuality"
        ],
        "audioRec": true
      },
      "keyboard": {
        "enabled": true,
        "keyboardWindow": [
          "0 = LocalComputer",
          "1 = RemoteComputer",
          "2 = FullScreenMode"
        ],
        "sendUnicodeChars": true
      },
      "clipboard": {
        "enabled": true,
        "clipboardDirection": [
          "0 = None",
          "1 = ClientToServer",
          "2 = ServerToClient",
          "3 = Bidirectional"
        ],
        "limitClipboardToTextOnly": [
          "0 = NoLimit",
          "1 = ClientToServer",
          "2 = ServerToClient",
          "3 = BothDirections"
        ]
      },
      "diskDrives": {
        "enabled": true,
        "redirectDrives": true,
        "dynamicDrives": true,
        "redirectToDrives": [
          "text"
        ],
        "redirectReadonlyDrives": true,
        "useAllDrives": true,
        "driveCacheMode": [
          "0 = Disable",
          "1 = Enable",
          "2 = Fast"
        ]
      },
      "devices": {
        "enabled": true,
        "redirectDevices": true,
        "dynamicDevices": true,
        "useAllDevices": true,
        "redirectToDevices": [
          "text"
        ]
      },
      "ports": {
        "enabled": true,
        "redirectCOMPorts": true
      },
      "smartCards": {
        "enabled": true,
        "redirectSmartCards": true
      },
      "windowsTouchInput": {
        "enabled": true,
        "touchInput": true
      },
      "videoCaptureDevices": {
        "enabled": true,
        "enableCameras": true,
        "dynamicCameras": true,
        "videoCaptureUseAllDevices": true,
        "camerasIDs": [
          "text"
        ]
      },
      "avdMultimediaRedirection": {
        "enabled": true,
        "avdMultimediaRedir": true
      },
      "fileTransfer": {
        "enabled": true,
        "fileTransferMode": [
          "0 = Disabled",
          "1 = ClientToServer",
          "2 = ServerToClient",
          "3 = Bidirectional"
        ]
      },
      "performance": {
        "enabled": true,
        "netType": [
          "0 = Modem",
          "1 = LowSpeedBroadband",
          "2 = Satellite",
          "3 = HighSpeedBroadband",
          "4 = WAN",
          "5 = LAN",
          "6 = DetectConnectionQualityAuto"
        ],
        "desktopBackground": true,
        "fontSmoothing": true,
        "windowMenuAnimation": true,
        "desktopComposition": true,
        "themes": true,
        "bitmapCaching": true,
        "moveSizeFullDrag": true,
        "showContent": true
      },
      "compression": {
        "enabled": true,
        "compress": true,
        "scanningCompression": [
          "0 = CompressionDisabled",
          "1 = BestSpeed",
          "2 = BestSize",
          "3 = BasedOnConnectionSpeed"
        ],
        "printingCompression": [
          "0 = CompressionDisabled",
          "1 = BestSpeed",
          "2 = BestSize",
          "3 = BasedOnConnectionSpeed"
        ]
      },
      "network": {
        "enabled": true,
        "useProxyServer": true,
        "proxyHost": "text",
        "proxyPort": 1,
        "proxyAuthentication": true,
        "proxyUseLogonCredentials": true,
        "proxyUsername": "text",
        "proxyType": [
          "0 = SOCKS4",
          "1 = SOCKS4A",
          "2 = SOCKS5",
          "3 = HTTP1_1"
        ]
      },
      "advancedSettings": {
        "enabled": true,
        "useClientColors": true,
        "useClientSettings": true,
        "createShrtCut": true,
        "registerExt": true,
        "urlRedirection": true,
        "mailRedirection": true,
        "credAlwaysAsk": true,
        "allowSrvCmd": true,
        "promptSrvCmd": true,
        "credSSP": true,
        "redirPOS": true,
        "pre2000Cred": true,
        "disableRUDP": true,
        "doNotShowDriveRedirectionDlg": true
      },
      "serverAuthentication": {
        "enabled": true,
        "sessionAuthFailureAction": [
          "0 = Connect",
          "1 = DoNotConnect",
          "2 = Warn"
        ]
      }
    },
    "clientOptions": {
      "enabled": true,
      "appearance": {
        "enabled": true,
        "uiType": [
          "0 = Modern",
          "1 = Classic",
          "2 = User"
        ],
        "promptSwitchToModern": true
      },
      "connection": {
        "enabled": true,
        "connectionBannerType": [
          "0 = SplashWindow",
          "1 = TaskBarToastWindow",
          "2 = None"
        ],
        "autoRefreshFarms": true,
        "autoRefreshTime_Mins": 1,
        "whenAllSessionClosedAction": [
          "0 = Nothing",
          "1 = LockWorkstation",
          "2 = LogOff"
        ]
      },
      "logging": {
        "enabled": true,
        "logLevel": [
          "3 = Standard",
          "4 = Extended",
          "5 = Verbose"
        ],
        "loggingStartDateTime": "2025-07-08T09:15:48.506Z",
        "loggingDuration": 1,
        "allowViewLog": true,
        "allowClearLog": true
      },
      "pcKeyboard": {
        "enabled": true,
        "forcePCKeybd": true,
        "pcKeybd": [
          "1028 = ChineseTraditional",
          "1031 = German",
          "1033 = EnglishUS",
          "1034 = Spanish",
          "1036 = French",
          "1040 = Italian",
          "1041 = Japanese",
          "1042 = Korean",
          "1043 = Dutch",
          "1046 = PortugueseBrazil",
          "1049 = Russian",
          "1053 = Swedish",
          "1082 = Maltese",
          "2052 = ChineseSimplified",
          "2057 = EnglishUK",
          "2068 = NorwegianNynorsk",
          "2070 = Portuguese",
          "3084 = FrenchCanada"
        ]
      },
      "update": {
        "enabled": true,
        "checkForUpdateOnLaunch": true,
        "updateClientXmlUrl": "text",
        "updateAVDClientXMLURL": "text"
      },
      "singleSignOn": {
        "enabled": true,
        "forceThirdPartySSO": true,
        "ssoProvGUID": "text"
      },
      "advanced": {
        "enabled": true,
        "global": {
          "enabled": true,
          "showFolders": true,
          "minimizeToTrayOnClose": true,
          "graphicsAccel": true,
          "clientWorkAreaBackground": true,
          "sslNoWarning": true,
          "swapMouse": true,
          "dpiAware": true,
          "autoAddFarm": true,
          "dontPromptAutoAddFarm": true,
          "suppErrMsgs": true,
          "clearCookies": true,
          "turnOffUDPOnClient": true
        },
        "language": {
          "enabled": true,
          "lang": [
            "0 = Default",
            "1 = English",
            "2 = German",
            "3 = Japanese",
            "5 = French",
            "6 = Spanish",
            "7 = Italian",
            "8 = Portuguese",
            "9 = ChineseSimplified",
            "10 = ChineseTraditional",
            "11 = Korean",
            "12 = Dutch"
          ]
        },
        "printing": {
          "enabled": true,
          "printInstallFonts": true,
          "printRawSupport": true,
          "allowEMFRasterization": true,
          "printUseCache": true,
          "printRefreshCache": true,
          "printUseFontsCache": true
        },
        "windowsClient": {
          "enabled": true,
          "autohide": true,
          "autoLaunch": true
        },
        "remoteFxUsbRedirection": {
          "enabled": true,
          "remoteFXUSBRedir": true
        },
        "customerExperienceProgram": {
          "enabled": true,
          "participateInCEP": true
        }
      }
    },
    "controlSettings": {
      "controlSettingsConnections": {
        "enabled": true,
        "dontAddNewASXGConns": true,
        "dontAddNewStdConns": true
      },
      "credentials": {
        "enabled": true,
        "dontSaveUsername": true,
        "dontSavePwds": true,
        "dontChangePwds": true
      },
      "importExport": {
        "enabled": true,
        "dontImportExport": true,
        "dontImport": true,
        "dontExport": true
      }
    }
  },
  "version": 1,
  "assignment": {
    "rules": [
      {
        "id": 1,
        "priority": 1,
        "enabled": true,
        "name": "text",
        "description": "text",
        "criteria": {
          "securityPrincipals": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "members": [
              {
                "account": "text",
                "type": [
                  "1 = User",
                  "2 = Group",
                  "3 = ForeignSecurityPrincipal",
                  "4 = Computer"
                ],
                "sid": "text"
              }
            ]
          },
          "gateways": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "members": [
              {
                "gatewayIP": "text"
              }
            ]
          },
          "oSs": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "allowedOSes": {
              "chrome": true,
              "android": true,
              "webClient": true,
              "iOS": true,
              "linux": true,
              "mac": true,
              "wyse": true,
              "windows": true
            }
          },
          "iPs": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "allowedIPs": {
              "iPv4s": [
                {
                  "from": "text",
                  "to": "text"
                }
              ],
              "iPv6s": [
                {
                  "from": "text",
                  "to": "text"
                }
              ]
            }
          },
          "hardwareIDs": {
            "enabled": true,
            "matchingMode": [
              "0 = IsNotOneOfTheFollowing",
              "1 = IsOneOfTheFollowing"
            ],
            "members": [
              {
                "hardwareID": "text"
              }
            ]
          },
          "access": [
            "0 = DenyCriteriaWhen",
            "1 = AllowCriteriaWhen"
          ]
        }
      }
    ],
    "default": [
      "0 = Deny",
      "1 = Allow"
    ]
  }
}

Update

put

Update settings of a client policy. For each setting, the request has a corresponding parameter. To modify a setting, specify a matching parameter and its value.

Path parameters
idinteger · int32Required

Client policy ID

Body

Update a RAS Client Policy

namestring | nullableOptional

The new name of the specified client policy.

enabledboolean | nullableOptional

Enable or disable the specified client policy.

descriptionstring | nullableOptional

A user-defined description for the client policy.

orderinteger · int32 | nullableOptional

The order of the client policy.

primaryConnectionEnabledboolean | nullableOptional

Primary Connection: Whether Primary Connection is enabled or not.

connectionNamestring | nullableOptional

Primary Connection: The name of the primary connection.

autoLoginboolean | nullableOptional

Primary Connection: Allow the user to auto login.

authenticationTypestring · enumOptional

Authentication Type.

Possible values:
savePasswordboolean | nullableOptional

Primary Connection: Password will be saved when user successfully logs in.

domainstring | nullableOptional

Primary Connection: The name of the domain.

secondaryConnectionsEnabledboolean | nullableOptional

Secondary Connection: If Secondary Connection is enabled or not.

reconnectIfDroppedboolean | nullableOptional

Reconnection: If Reconnection Flag is enabled or not.

reconnectionEnabledboolean | nullableOptional

Reconnection: When the connection drops allows for automatic reconnection.

connectionRetriesinteger · int32 | nullableOptional

Reconnection: The amount of connection retries.

reconnectionConnectionBannerDelayinteger · int32 | nullableOptional

Reconnection: If connection is not established after an amount of seconds given, the banner will show.

computerNameEnabledboolean | nullableOptional

Computer Name: Whether Computer Name is enabled or not.

overrideComputerNamestring | nullableOptional

Computer Name: The computer name which can be overridden.

connectionAdvancedSettEnabledboolean | nullableOptional

Connection Advanced Settings: Whether Connection Advanced Settings is enabled or not.

connectionTimeoutinteger · int32 | nullableOptional

Connection Advanced Settings: The total number of seconds where the connection will timeout.

connectionAdvancedSettConnectionBannerDelayinteger · int32 | nullableOptional

Connection Advanced Settings: If connection is not established after an amount of seconds given, the banner will show.

showDesktopTimeoutinteger · int32 | nullableOptional

Connection Advanced Settings: If published application does not start after several seconds this will show.

webAuthenticationEnabledboolean | nullableOptional

Web Authentication: Whether the web authentication is enabled or not.

defaultOsBrowserboolean | nullableOptional

Web Authentication: If the box is checked the os will use the default browser.

openBrowserOnLogoutboolean | nullableOptional

Web Authentication: Whether the browser is shown when logging out of web authentication with the internal browser.

multiFactorAuthenticationEnabledboolean | nullableOptional

Multi Factor Authentication: Whether Multi factor authentication is enabled or not.

rememberLastUsedMethodboolean | nullableOptional

Multi Factor Authentication: Will remember the last used method.

sessionPreLaunchEnabledboolean | nullableOptional

Session Prelaunch: Whether Session PreLaunch was enabled or not.

preLaunchModestring · enumOptional

Session Mode Type.

Possible values:
localProxyAddressEnabledboolean | nullableOptional

Local Proxy Address: Whether Local Proxy Address is enabled or not.

useLocalHostProxyIPboolean | nullableOptional

Local Proxy Address: Whether the 127.0.0.1 IP address is used when using Gateway mode in VPN scenarios or not.

preLaunchExcludestring[] | nullableOptional

Session Prelaunch: The list of the session prelaunch.

browserEnabledboolean | nullableOptional

Browser: Whether Display Settings Browser is enabled or not.

browserOpenInstring · enumOptional

Open Applications In Type.

Possible values:
desktopOptionsEnabledboolean | nullableOptional

Desktop Options: Whether Display Settings Options is enabled or not.

smartSizingstring · enumOptional

Smart Sizing Type.

Possible values:
embedDesktopboolean | nullableOptional

Desktop Options: If box is checked the desktop will always be fixed.

spanDesktopsboolean | nullableOptional

Desktop Options: If box is checked the desktop will spanned across all other monitors.

fullScreenBarstring · enumOptional

Connection Bar Type.

Possible values:
multiMonitorEnabledboolean | nullableOptional

Multi Monitor: Whether Display Settings is enabled or not.

displayConfigstring · enumOptional

Display configuration Type.

Possible values:
publishedApplicationsEnabledboolean | nullableOptional
usePrimaryMonitorboolean | nullableOptional

Published Applications: Use the primary monitor only.

useDynamicDesktopResizingboolean | nullableOptional

Published Applications: Use dynamic desktop resizing.

useAvailAreaForAppSingleMonitorboolean | nullableOptional

Published Applications: Use available area for an application on a single monitor (User Portal).

settingsEnabledboolean | nullableOptional

Settings: Whether Display Settings is enabled or not.

colorDepthsstring · enumOptional

Settings Color Depth Type.

Possible values:
graphicsAccelerationstring · enumOptional

Acceleration Mode Type.

Possible values:
printingEnabledboolean | nullableOptional

Printing: Whether Printing Policy is enabled or not.

redirectPrinterTechstring · enumOptional

Printing Technology Use Type.

Possible values:
redirectPrintersstring · enumOptional

Universal Printing Type.

Possible values:
redirectPrintersListstring[] | nullableOptional

Printing: List of names of printers that are used to redirect to.

scanningEnabledboolean | nullableOptional

Scanning: Whether Scanning policy is enabled or not.

scanTechstring · enumOptional

Scanning Technology Use Type.

Possible values:
scanRedirectstring · enumOptional

Redirect Scanner Type.

Possible values:
scanListTwainstring[] | nullableOptional

Scanning: The TWAIN scanning List.

scanListWiastring[] | nullableOptional

Scanning: The WIA scanning List.

audioEnabledboolean | nullableOptional

Audio: Whether Audio policy is enabled or not.

audioModesstring · enumOptional

Audio Mode Type.

Possible values:
audioQualitystring · enumOptional

Audio Quality Type.

Possible values:
audioRecboolean | nullableOptional

Audio: Allow Audio Recording if box is ticked.

keyboardEnabledboolean | nullableOptional

Keyboard: Whether Keyboard policy is enabled or not.

keyboardWindowstring · enumOptional

Keyboard Type.

Possible values:
sendUnicodeCharsboolean | nullableOptional

Keyboard: Allow Unicode characters if the box is checked.

clipboardEnabledboolean | nullableOptional

Clipboard: Whether Local Devices and resources clipboard policy is enabled or not.

clipboardDirectionstring[Flag] · enumOptional

Clipboard Direction Type.

Possible values:
limitClipboardToTextOnlystring[Flag] · enumOptional

Limit clipboard to text only.

Possible values:
devicesEnabledboolean | nullableOptional

Devices: Whether Local Devices and resources Devices policy is enabled or not.

redirectDevicesboolean | nullableOptional

Devices: If box is checked allow devices redirection.

dynamicDevicesboolean | nullableOptional

Devices: If box is checked allow the use of other devices that are plugged in later.

useAllDevicesboolean | nullableOptional

Devices: Use all devices that are available.

redirectToDevicesstring[] | nullableOptional

Devices: Redirect to all available devices.

diskDrivesEnabledboolean | nullableOptional

Disk Drives: Whether Disk Drives policy is enabled or not.

redirectDrivesboolean | nullableOptional

Disk Drives: Allow Drives Redirection.

redirectReadonlyDrivesboolean | nullableOptional

Disk Drives: Redirect as read-only drives.

dynamicDrivesboolean | nullableOptional

Disk Drives: Allow Drives that are plugged in later on.

redirectToDrivesstring[] | nullableOptional

Disk Drives: The drives to redirect to.

useAllDrivesboolean | nullableOptional

Disk Drives: Will use all the drives that are available.

driveCacheModestring · enumOptional

Drive Cache Mode

Possible values:
avdMultimediaRedirEnabledboolean | nullableOptional

Multimedia redirection for AVD: Multimedia redirection for AVD policy is enabled or not.

avdMultimediaRedirboolean | nullableOptional

Multimedia redirection for AVD: Whether Multimedia redirection is enabled for AVD or not.

fileTransferEnabledboolean | nullableOptional

File Transfer: Whether File Transfer policy is enabled or not.

fileTransferModestring · enumOptional

File Transfer Control modes.

Possible values:
portsEnabledboolean | nullableOptional

Ports: Whether Ports policy is enabled or not.

redirectCOMPortsboolean | nullableOptional

Ports: If box is checked allow the LPT and COM Redirection.

smartCardsEnabledboolean | nullableOptional

Smart Cards: Smart Card policy is enabled or not.

redirectSmartCardsboolean | nullableOptional

Smart Cards: If box is checked allow the Smart Card Redirection.

windowsTouchInputEnabledboolean | nullableOptional

Windows Touch Input: Whether Windows Touch Input policy is enabled or not.

touchInputboolean | nullableOptional

Windows Touch Input: If box is checked allow the window touch redirection.

videoCaptureDevicesEnabledboolean | nullableOptional

Whether Video Capture Devices policy is enabled or not

enableCamerasboolean | nullableOptional

If box is checked allow devices redirection

dynamicCamerasboolean | nullableOptional

If box is checked allow the use of other devices that are plugged in later

videoCaptureUseAllDevicesboolean | nullableOptional

Use all devices that are available

camerasIdsstring[] | nullableOptional

Redirect to all available devices

performanceEnabledboolean | nullableOptional

Performance: Whether performance policy is enabled or not.

netTypestring · enumOptional

Network Type.

Possible values:
desktopBackgroundboolean | nullableOptional

Performance: If the box is checked allow the desktop background.

fontSmoothingboolean | nullableOptional

Performance: If the box is checked allow font smoothing.

windowMenuAnimationboolean | nullableOptional

Performance: If the box is checked allow for the window menu animation.

desktopCompositionboolean | nullableOptional

Performance: If the box is checked allow for the desktop composition.

themesboolean | nullableOptional

Performance: If the box is checked allow for the themes setting.

bitmapCachingboolean | nullableOptional

Performance: If the box is checked allow for bitmap caching.

moveSizeFullDragboolean | nullableOptional

Performance: Allow the resizing of windows.

showContentboolean | nullableOptional

Performance: Whether show contents of window while dragging is enabled or not.

compressionEnabledboolean | nullableOptional

Compression: Whether Compression policy is enabled or not.

compressboolean | nullableOptional

Compression: Allow for RDP compression.

scanningCompressionstring · enumOptional

Compression Type.

Possible values:
printingCompressionstring · enumOptional

Compression Type.

Possible values:
networkEnabledboolean | nullableOptional

Network: Whether Network policy is enabled or not.

useProxyServerboolean | nullableOptional

Network: Check the box if you want to use a proxy server.

proxyTypestring · enumOptional

Proxy Type.

Possible values:
proxyHoststring | nullableOptional

Network: The proxy host.

proxyPortinteger · int32 | nullableOptional

Network: The proxy port.

proxyAuthenticationboolean | nullableOptional

Network: Check the box if the proxy requires any authentication.

proxyUseLogonCredentialsboolean | nullableOptional

Network: Will use the user logon credentials.

proxyUsernamestring | nullableOptional

Network: The proxy username authentication.

serverAuthenticationEnabledboolean | nullableOptional

Server Authentication: Whether Server Authentication policy is enabled or not.

sessionAuthFailureActionstring · enumOptional

If Authentication Fail Type.

Possible values:
advancedSettingsEnabledboolean | nullableOptional

Advanced Settings: Whether Advanced Settings policy is enabled or not.

useClientColorsboolean | nullableOptional

Advanced Settings: Make use of the system client colours.

useClientSettingsboolean | nullableOptional

Advanced Settings: Make use of the system client settings.

createShrtCutboolean | nullableOptional

Advanced Settings: Creates the shortcuts on the configured server.

registerExtboolean | nullableOptional

Advanced Settings: Register file extensions associated from the server.

urlRedirectionboolean | nullableOptional

Advanced Settings: Will redirect url to the client device.

mailRedirectionboolean | nullableOptional

Advanced Settings: Will redirect the mail to the client devices.

credAlwaysAskboolean | nullableOptional

Advanced Settings: Will always ask for the credentials.

allowSrvCmdboolean | nullableOptional

Advanced Settings: Will allow server commands to be executed by the client.

promptSrvCmdboolean | nullableOptional

Advanced Settings: Will confirm the server commands before executing them.

credSSPboolean | nullableOptional

Advanced Settings: Will allow for network level authentication.

redirPOSboolean | nullableOptional

Advanced Settings: Will redirect POS devices.

pre2000Credboolean | nullableOptional

Advanced Settings: Will use pre windows 2000 format.

disableRUDPboolean | nullableOptional

Advanced Settings: Will disable rdp-udp gateway connections.

doNotShowDriveRedirectionDlgboolean | nullableOptional

Advanced Settings: Does not show the redirection drive dialog.

defaultPrinterstring | nullableOptional

Printing - Default Settings: The default printer chosen.

defaultPrinterTechstring · enumOptional

Printing Technology Use Type.

Possible values:
forceTimeinteger · int32 | nullableOptional

Printing - Default Settings: The time in Seconds to Force the Default Printer for.

matchExactPrinterNameboolean | nullableOptional

Printing - Default Settings: Match Exact Printer Name.

updateRemoteDefPrinterboolean | nullableOptional

Printing - Default Settings: Update the remote default printer.

dataFormatstring · enumOptional

Printing Data Format.

Possible values:
printerPreferencestring · enumOptional

Client Printer Preference.

Possible values:
specificPreferredPrinterstring | nullableOptional

Printing - Printing Options: The specific preferred printer.

clientOptionsEnabledboolean | nullableOptional

Client Options: Whether Client Options policy is enabled or not.

clientOptionsAppearanceEnabledboolean | nullableOptional

Client Options Appearance: Whether Client Options Appearance policy is enabled or not.

uiTypestring · enumOptional

UI Type.

Possible values:
promptSwitchToModernboolean | nullableOptional

Client Options Appearance: Will prompt user to switch to modern UI.

clientOptionsConnEnabledboolean | nullableOptional

Client Options Connection: Whether Client Options Connection policy is enabled or not.

connectionBannerTypestring · enumOptional

Connection Banner Type.

Possible values:
autoRefreshFarmsboolean | nullableOptional

Client Options Connection: Will automatically refresh the farm every given minutes.

autoRefreshTime_Minsinteger · int32 | nullableOptional

Client Options Connection: The given minutes to refresh the farm.

whenAllSessionClosedActionstring · enumOptional

When All Session Closed Action.

Possible values:
clientOptionsUpdateEnabledboolean | nullableOptional

Client Options Update: Whether Client Options Update policy is enabled or not.

checkForUpdateOnLaunchboolean | nullableOptional

Client Options Update: Will check updates on startup.

updateClientXmlUrlstring | nullableOptional

Client Options Update: The url to update the client.

updateAVDClientXMLURLstring | nullableOptional

Client Options Update: The url to update the AVD client.

clientOptionsPCKeyboardEnabledboolean | nullableOptional

Client Options PCKeyboard: Whether Client Options PCKeyboard policy is enabled or not.

forcePCKeybdboolean | nullableOptional

Client Options PCKeyboard: Will force to use the pc keyboard if applicable.

pcKeybdstring · enumOptional

Keyboard Layout.

Possible values:
ssoEnabledboolean | nullableOptional

Client Options SSO: Whether Client Options SSO policy is enabled or not.

forceThirdPartySSOboolean | nullableOptional

Client Options SSO: Will wrap third party SSO Component.

ssoProvGUIDstring | nullableOptional

Client Options SSO: The third party credientials.

loggingEnabledboolean | nullableOptional

Client Options - Logging: Whether Logging policy is enabled or not.

logLevelstring · enumOptional

Log Levels Type.

Possible values:
loggingStartDateTimestring · date-time | nullableOptional

Client Options - Logging: Logging Start DateTime.

loggingDurationinteger · int32 | nullableOptional

Client Options - Logging: Logging Duration (in seconds).

allowViewLogboolean | nullableOptional

Client Options - Logging: Whether Allow View Log is enabled or not.

allowClearLogboolean | nullableOptional

Client Options - Logging: Whether Allow Clear Log is enabled or not.

clientOptionsAdvancedEnabledboolean | nullableOptional

Client Options - Advanced: Whether Advanced policy is enabled or not.

globalEnabledboolean | nullableOptional

Client Options - Advanced - Global: Whether Advanced Global policy is enabled or not

showFoldersboolean | nullableOptional

Client Options - Advanced - Global: Show the connection trees

minimizeToTrayOnCloseboolean | nullableOptional

Client Options - Advanced - Global: Minimize to tray on close or escape

graphicsAccelboolean | nullableOptional

Client Options - Advanced - Global: Enable the graphics acceleration for the chrome client

clientWorkAreaBackgroundboolean | nullableOptional

Client Options - Advanced - Global: Enable the work area background for the chrome client

sslNoWarningboolean | nullableOptional

Client Options - Advanced - Global: Do not warn if the server certificate is not verified

swapMouseboolean | nullableOptional

Client Options - Advanced - Global: Swap the mouse buttons

dpiAwareboolean | nullableOptional

Client Options - Advanced - Global: Enable the dpi aware

autoAddFarmboolean | nullableOptional

Client Options - Advanced - Global: Add the RAS Connections automatically when starting web or shortcut items

dontPromptAutoAddFarmboolean | nullableOptional

Client Options - Advanced - Global: No messages are prompted when auto adding ras connections

suppErrMsgsboolean | nullableOptional

Client Options - Advanced - Global: Close any errors automatically

clearCookiesboolean | nullableOptional

Client Options - Advanced - Global: Clear session cookies on exit.

turnOffUDPOnClientboolean | nullableOptional

Client Options - Advanced - Global: Turn off UDP on Client.

languageEnabledboolean | nullableOptional

Client Options - Advanced - Language: Whether Language policy is enabled or not

langstring · enumOptional

Languages Type.

Possible values:
clientOptionsPrintingEnabledboolean | nullableOptional

Client Options - Advanced - Printing: Whether Printing policy is enabled or not.

printInstallFontsboolean | nullableOptional

Client Options - Advanced - Printing: Will install any missing fonts automatically.

printRawSupportboolean | nullableOptional

Client Options - Advanced - Printing: Will allow for raw printing support.

allowEMFRasterizationboolean | nullableOptional

Client Options - Advanced - Printing: Will convert non distributable fonts data to images.

printUseCacheboolean | nullableOptional

Client Options - Advanced - Printing: Will cache printer hardware information.

printRefreshCacheboolean | nullableOptional

Client Options - Advanced - Printing: Will refresh printer hardware information every 30 days.

printUseFontsCacheboolean | nullableOptional

Client Options - Advanced - Printing: Will allow for the RAS universal printing embedded fonts.

windowsClientEnabledboolean | nullableOptional

Client Options - Advanced - Windows Client: Whether Windows Client policy is enabled or not.

autoHideboolean | nullableOptional

Client Options - Advanced - Windows Client: Will hide the launcher when an application is opened.

autoLaunchboolean | nullableOptional

Client Options - Advanced - Windows Client: Will launch automatically at windows startup.

remoteFxUsbRedirEnabledboolean | nullableOptional

Client Options - Advanced - RemoteFX USB Redirection: Whether Remote Fx Usb Redirection policy is enabled or not.

remoteFXUSBRedirboolean | nullableOptional

Client Options - Advanced - RemoteFX USB Redirection: Will allow redirection of other supported remotedfx usb devices.

clientOptionsCEPEnabledboolean | nullableOptional

Client Options - Advanced - Customer Experience Program: Whether Remote Fx Usb Redirection policy is enabled or not.

participateInCEPboolean | nullableOptional

Client Options - Advanced - Customer Experience Program: Will allow redirection of other supported remotedfx usb devices.

controlSettingsConnectionEnabledboolean | nullableOptional

Control Settings Connection: Whether Control Settings Connections policy is enabled or not.

dontAddNewASXGConnsboolean | nullableOptional

Control Settings Connection: Will not be able to add a new ras connection.

dontAddNewStdConnsboolean | nullableOptional

Control Settings Connection: Will not be able to add a new rdp connection.

controlSettingsCredentialsEnabledboolean | nullableOptional

Control Settings Credentials: Whether Control Settings Credentials policy is enabled or not.

dontSaveUsernameboolean | nullableOptional

Control Settings Credentials: Will not be able to save the username.

dontSavePwdsboolean | nullableOptional

Control Settings Credentials: Will not be able to save the password.

dontChangePwdsboolean | nullableOptional

Control Settings Credentials: Will not be able to change the password.

controlSettingsImportExportEnabledboolean | nullableOptional

Control Settings Import Export: Whether Control Settings Import Export policy is enabled or not.

dontImportboolean | nullableOptional

Control Settings Import Export: Will not allow any importation of the connection settings.

dontExportboolean | nullableOptional

Control Settings Import Export: Will not allow any exportation of the connection settings.

redirectionEnabledboolean | nullableOptional

Redirection: Whether Redirection policy is enabled or not

gatewaystring | nullableOptional

Redirection: The gateway address

modestring · enumOptional

Connection Mode Type.

Possible values:
serverPortinteger · int32 | nullableOptional

Redirection: The server port

altGatewaystring | nullableOptional

Redirection: The alternative gateway address

Responses
204
No Content
put
PUT /api/ClientPolicies/{id} HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 7781

{
  "name": "text",
  "enabled": true,
  "description": "text",
  "order": 1,
  "primaryConnectionEnabled": true,
  "connectionName": "text",
  "autoLogin": true,
  "authenticationType": [
    "0 = Credentials",
    "1 = SingleSignOn",
    "2 = SmartCard",
    "3 = Web",
    "4 = WebCredentials"
  ],
  "savePassword": true,
  "domain": "text",
  "secondaryConnectionsEnabled": true,
  "reconnectIfDropped": true,
  "reconnectionEnabled": true,
  "connectionRetries": 1,
  "reconnectionConnectionBannerDelay": 1,
  "computerNameEnabled": true,
  "overrideComputerName": "text",
  "connectionAdvancedSettEnabled": true,
  "connectionTimeout": 1,
  "connectionAdvancedSettConnectionBannerDelay": 1,
  "showDesktopTimeout": 1,
  "webAuthenticationEnabled": true,
  "defaultOsBrowser": true,
  "openBrowserOnLogout": true,
  "multiFactorAuthenticationEnabled": true,
  "rememberLastUsedMethod": true,
  "sessionPreLaunchEnabled": true,
  "preLaunchMode": [
    "0 = Off",
    "1 = Basic",
    "2 = MachineLearning"
  ],
  "localProxyAddressEnabled": true,
  "useLocalHostProxyIP": true,
  "preLaunchExclude": [
    "text"
  ],
  "browserEnabled": true,
  "browserOpenIn": [
    "0 = SameTab",
    "1 = NewTab"
  ],
  "desktopOptionsEnabled": true,
  "smartSizing": [
    "0 = Disabled",
    "1 = Scale",
    "2 = Resize"
  ],
  "embedDesktop": true,
  "spanDesktops": true,
  "fullScreenBar": [
    "0 = DoNotShow",
    "1 = ShowPinned",
    "2 = ShowUnPinned"
  ],
  "multiMonitorEnabled": true,
  "displayConfig": [
    "0 = Primary",
    "1 = All",
    "2 = Selected"
  ],
  "publishedApplicationsEnabled": true,
  "usePrimaryMonitor": true,
  "useDynamicDesktopResizing": true,
  "useAvailAreaForAppSingleMonitor": true,
  "settingsEnabled": true,
  "colorDepths": [
    "0 = Colors256",
    "1 = HighColor15Bit",
    "2 = HighColor16Bit",
    "3 = TrueColor24Bit",
    "4 = HighestQuality32Bit"
  ],
  "graphicsAcceleration": [
    "0 = None",
    "1 = Basic",
    "2 = RemoteFx",
    "3 = RemoteFxAdaptive",
    "4 = AVCAdaptive"
  ],
  "printingEnabled": true,
  "redirectPrinterTech": [
    "0 = None",
    "1 = RasUniversalPrintingTechnology",
    "2 = MicrosoftBasicPrintingTechnology",
    "3 = RasUniversalPrintingAndMsBasicTechnologies"
  ],
  "redirectPrinters": [
    "0 = All",
    "1 = DefaultOnly",
    "2 = SpecificOnly"
  ],
  "redirectPrintersList": [
    "text"
  ],
  "scanningEnabled": true,
  "scanTech": [
    "0 = None",
    "1 = WIA",
    "2 = TWAIN",
    "3 = WIAandTWAIN"
  ],
  "scanRedirect": [
    "0 = All",
    "1 = SpecificOnly"
  ],
  "scanListTwain": [
    "text"
  ],
  "scanListWia": [
    "text"
  ],
  "audioEnabled": true,
  "audioModes": [
    "0 = BringToThisComputer",
    "1 = DoNotPlay",
    "2 = LeaveAtRemoteComputer"
  ],
  "audioQuality": [
    "0 = AdjustDynamically",
    "1 = UseMediumQuality",
    "2 = UseUncompressedQuality"
  ],
  "audioRec": true,
  "keyboardEnabled": true,
  "keyboardWindow": [
    "0 = LocalComputer",
    "1 = RemoteComputer",
    "2 = FullScreenMode"
  ],
  "sendUnicodeChars": true,
  "clipboardEnabled": true,
  "clipboardDirection": [
    "0 = None",
    "1 = ClientToServer",
    "2 = ServerToClient",
    "3 = Bidirectional"
  ],
  "limitClipboardToTextOnly": [
    "0 = NoLimit",
    "1 = ClientToServer",
    "2 = ServerToClient",
    "3 = BothDirections"
  ],
  "devicesEnabled": true,
  "redirectDevices": true,
  "dynamicDevices": true,
  "useAllDevices": true,
  "redirectToDevices": [
    "text"
  ],
  "diskDrivesEnabled": true,
  "redirectDrives": true,
  "redirectReadonlyDrives": true,
  "dynamicDrives": true,
  "redirectToDrives": [
    "text"
  ],
  "useAllDrives": true,
  "driveCacheMode": [
    "0 = Disable",
    "1 = Enable",
    "2 = Fast"
  ],
  "avdMultimediaRedirEnabled": true,
  "avdMultimediaRedir": true,
  "fileTransferEnabled": true,
  "fileTransferMode": [
    "0 = Disabled",
    "1 = ClientToServer",
    "2 = ServerToClient",
    "3 = Bidirectional"
  ],
  "portsEnabled": true,
  "redirectCOMPorts": true,
  "smartCardsEnabled": true,
  "redirectSmartCards": true,
  "windowsTouchInputEnabled": true,
  "touchInput": true,
  "videoCaptureDevicesEnabled": true,
  "enableCameras": true,
  "dynamicCameras": true,
  "videoCaptureUseAllDevices": true,
  "camerasIds": [
    "text"
  ],
  "performanceEnabled": true,
  "netType": [
    "0 = Modem",
    "1 = LowSpeedBroadband",
    "2 = Satellite",
    "3 = HighSpeedBroadband",
    "4 = WAN",
    "5 = LAN",
    "6 = DetectConnectionQualityAuto"
  ],
  "desktopBackground": true,
  "fontSmoothing": true,
  "windowMenuAnimation": true,
  "desktopComposition": true,
  "themes": true,
  "bitmapCaching": true,
  "moveSizeFullDrag": true,
  "showContent": true,
  "compressionEnabled": true,
  "compress": true,
  "scanningCompression": [
    "0 = CompressionDisabled",
    "1 = BestSpeed",
    "2 = BestSize",
    "3 = BasedOnConnectionSpeed"
  ],
  "printingCompression": [
    "0 = CompressionDisabled",
    "1 = BestSpeed",
    "2 = BestSize",
    "3 = BasedOnConnectionSpeed"
  ],
  "networkEnabled": true,
  "useProxyServer": true,
  "proxyType": [
    "0 = SOCKS4",
    "1 = SOCKS4A",
    "2 = SOCKS5",
    "3 = HTTP1_1"
  ],
  "proxyHost": "text",
  "proxyPort": 1,
  "proxyAuthentication": true,
  "proxyUseLogonCredentials": true,
  "proxyUsername": "text",
  "serverAuthenticationEnabled": true,
  "sessionAuthFailureAction": [
    "0 = Connect",
    "1 = DoNotConnect",
    "2 = Warn"
  ],
  "advancedSettingsEnabled": true,
  "useClientColors": true,
  "useClientSettings": true,
  "createShrtCut": true,
  "registerExt": true,
  "urlRedirection": true,
  "mailRedirection": true,
  "credAlwaysAsk": true,
  "allowSrvCmd": true,
  "promptSrvCmd": true,
  "credSSP": true,
  "redirPOS": true,
  "pre2000Cred": true,
  "disableRUDP": true,
  "doNotShowDriveRedirectionDlg": true,
  "defaultPrinter": "text",
  "defaultPrinterTech": [
    "0 = None",
    "1 = RasUniversalPrintingTechnology",
    "2 = MicrosoftBasicPrintingTechnology",
    "3 = RasUniversalPrintingAndMsBasicTechnologies"
  ],
  "forceTime": 1,
  "matchExactPrinterName": true,
  "updateRemoteDefPrinter": true,
  "dataFormat": [
    "0 = ViewPDF_ExtApp",
    "1 = EMF",
    "2 = BMP",
    "4 = PrintPDF_ExtApp",
    "5 = PrintPDF"
  ],
  "printerPreference": [
    "0 = ServerPrefAllPrinters",
    "1 = ClientPrefAllPrinters",
    "2 = ClientPrefSpecificPrinters"
  ],
  "specificPreferredPrinter": "text",
  "clientOptionsEnabled": true,
  "clientOptionsAppearanceEnabled": true,
  "uiType": [
    "0 = Modern",
    "1 = Classic",
    "2 = User"
  ],
  "promptSwitchToModern": true,
  "clientOptionsConnEnabled": true,
  "connectionBannerType": [
    "0 = SplashWindow",
    "1 = TaskBarToastWindow",
    "2 = None"
  ],
  "autoRefreshFarms": true,
  "autoRefreshTime_Mins": 1,
  "whenAllSessionClosedAction": [
    "0 = Nothing",
    "1 = LockWorkstation",
    "2 = LogOff"
  ],
  "clientOptionsUpdateEnabled": true,
  "checkForUpdateOnLaunch": true,
  "updateClientXmlUrl": "text",
  "updateAVDClientXMLURL": "text",
  "clientOptionsPCKeyboardEnabled": true,
  "forcePCKeybd": true,
  "pcKeybd": [
    "1028 = ChineseTraditional",
    "1031 = German",
    "1033 = EnglishUS",
    "1034 = Spanish",
    "1036 = French",
    "1040 = Italian",
    "1041 = Japanese",
    "1042 = Korean",
    "1043 = Dutch",
    "1046 = PortugueseBrazil",
    "1049 = Russian",
    "1053 = Swedish",
    "1082 = Maltese",
    "2052 = ChineseSimplified",
    "2057 = EnglishUK",
    "2068 = NorwegianNynorsk",
    "2070 = Portuguese",
    "3084 = FrenchCanada"
  ],
  "ssoEnabled": true,
  "forceThirdPartySSO": true,
  "ssoProvGUID": "text",
  "loggingEnabled": true,
  "logLevel": [
    "3 = Standard",
    "4 = Extended",
    "5 = Verbose"
  ],
  "loggingStartDateTime": "2025-07-08T09:15:48.506Z",
  "loggingDuration": 1,
  "allowViewLog": true,
  "allowClearLog": true,
  "clientOptionsAdvancedEnabled": true,
  "globalEnabled": true,
  "showFolders": true,
  "minimizeToTrayOnClose": true,
  "graphicsAccel": true,
  "clientWorkAreaBackground": true,
  "sslNoWarning": true,
  "swapMouse": true,
  "dpiAware": true,
  "autoAddFarm": true,
  "dontPromptAutoAddFarm": true,
  "suppErrMsgs": true,
  "clearCookies": true,
  "turnOffUDPOnClient": true,
  "languageEnabled": true,
  "lang": [
    "0 = Default",
    "1 = English",
    "2 = German",
    "3 = Japanese",
    "5 = French",
    "6 = Spanish",
    "7 = Italian",
    "8 = Portuguese",
    "9 = ChineseSimplified",
    "10 = ChineseTraditional",
    "11 = Korean",
    "12 = Dutch"
  ],
  "clientOptionsPrintingEnabled": true,
  "printInstallFonts": true,
  "printRawSupport": true,
  "allowEMFRasterization": true,
  "printUseCache": true,
  "printRefreshCache": true,
  "printUseFontsCache": true,
  "windowsClientEnabled": true,
  "autoHide": true,
  "autoLaunch": true,
  "remoteFxUsbRedirEnabled": true,
  "remoteFXUSBRedir": true,
  "clientOptionsCEPEnabled": true,
  "participateInCEP": true,
  "controlSettingsConnectionEnabled": true,
  "dontAddNewASXGConns": true,
  "dontAddNewStdConns": true,
  "controlSettingsCredentialsEnabled": true,
  "dontSaveUsername": true,
  "dontSavePwds": true,
  "dontChangePwds": true,
  "controlSettingsImportExportEnabled": true,
  "dontImport": true,
  "dontExport": true,
  "redirectionEnabled": true,
  "gateway": "text",
  "mode": [
    "0 = GatewayMode",
    "1 = GatewaySSLMode",
    "2 = DirectMode",
    "3 = DirectSSLMode"
  ],
  "serverPort": 1,
  "altGateway": "text"
}

No content

Delete

delete

Delete a Client policy.

Path parameters
idinteger · int32Required

Client policy ID

Responses
204
No Content
delete
DELETE /api/ClientPolicies/{id} HTTP/1.1
Host: 
Accept: */*

No content

Last updated

Was this helpful?