code: @PUT
      @Path("/{installationID}")
      @Consumes(MediaType.APPLICATION_JSON)
      @Produces(MediaType.APPLICATION_JSON)
      public Response updateInstallation(Installation entity, @PathParam("variantID") String variantId, @PathParam("installationID") String installationId) {
  
          Installation installation = clientInstallationService.findById(installationId);
  
          if (installation == null) {
              return Response.status(Response.Status.NOT_FOUND).entity("Could not find requested Installation").build();
          }
  
          clientInstallationService.updateInstallation(installation, entity);
  
          return Response.noContent().build();
  
      }
docs: Update Installation of specified Variant
  
  @param entity            new info of {@link Installation}
  @param variantId         id of {@link org.jboss.aerogear.unifiedpush.api.Variant}
  @param installationId    id of {@link Installation}
  @return          updated {@link Installation}
  
  @statuscode 204 The Installation updated successfully
  @statuscode 404 The requested Installation resource does not exist