Import
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 · enumOptionalPossible values:
Client Policy Input Method
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
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?