public EmptyJobResponse updatePermissionsForUser(String jobId,
String username, JobPermissionRequest body) throws ApiException {
// verify required params are set
if (jobId == null || username == null || body == null) {
throw new ApiException(400, "missing required params");
}
// create path and map variables
String path = "/jobs/" + Settings.API_VERSION + "/{jobId}/pems/{username}"
.replaceAll("\\{format\\}", "json")
.replaceAll("\\{" + "jobId" + "\\}",