Import

Import

post

Import a Client Policy from a xml file.

Query parameters
FilePathstringOptional

FilePath (including filename) of the client policy to be imported

Body

To invoke import of client policy(ies)

filePathstring | nullableRequired

File name and path. Use the '.xml' filename extension to be consistent with the Parallels RAS console.

inputMethodstring · enumOptional

Client Policy Input Method

Possible values:
Responses
204
No Content
post
POST /api/ClientPolicies/import HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 85

{
  "filePath": "text",
  "inputMethod": [
    "0 = AddNew",
    "1 = Overwrite",
    "2 = AddWithNewName"
  ]
}

No content

Was this helpful?