public MetadataPermissionResponse updateMetadataPermissionsForUser(
String uuid, String username, MetadataPermissionRequest body)
throws ApiException {
// verify required params are set
if (uuid == null || username == null || body == null) {
throw new ApiException(400, "missing required params");
}
// create path and map variables
String path = "/meta/" + Settings.API_VERSION + "/data/{uuid}/pems/{username}"
.replaceAll("\\{format\\}", "json")
.replaceAll("\\{" + "uuid" + "\\}",