public EmptyRemoteFileResponse updatePermissions(String filePath,
FilePermissionRequest body) throws ApiException {
// verify required params are set
if (filePath == null || body == null) {
throw new ApiException(400, "missing required params");
}
// create path and map variables
String path = "/files/" + Settings.API_VERSION + "/pems/system/{systemId}/{filePath}".replaceAll(
"\\{format\\}", "json").replaceAll("\\{" + "filePath" + "\\}",
apiInvoker.escapeString(filePath.toString()));