@PUT @ApiIgnore // until documented
  // Remove comments when the below API call is fixed
  /*@Path("{privilegeId}")
  @Produces("text/plain")
  @ApiOperation(value = "Update view instance privilege", notes = "Update privilege resource for view instance.")
  @ApiImplicitParams({
    @ApiImplicitParam(name = "body", value = "input parameters in json form", required = true, dataType = "org.apache.ambari.server.controller.ViewPrivilegeRequest", paramType = "body")
  })
  @ApiResponses(value = {
    @ApiResponse(code = 200, message = "Successful operation"),
    @ApiResponse(code = 500, message = "Server Error")}
  ) */
  public Response updatePrivilege(String body, @Context HttpHeaders headers, @Context UriInfo ui,
                                  @ApiParam(value = "view name") @PathParam("viewName") String viewName,
                                  @ApiParam(value = "view version") @PathParam("version") String version,
                                  @ApiParam(value = "instance name") @PathParam("instanceName") String instanceName,
                                  @ApiParam(value = "privilege id") @PathParam("privilegeId") String privilegeId) {

    return handleRequest(headers, body, ui, Request.Type.PUT, createPrivilegeResource(viewName, version, instanceName, privilegeId));
  }
Handles: PUT /views/{viewName}/versions/{version}/instances/{instanceName}/privileges/{privilegeID}
Update a specific privilege.

@param headers       http headers
@param ui            uri info
@param viewName      view id
@param version       version id
@param instanceName  instance id
@param privilegeId   privilege id

@return information regarding the updated privilege
ambari-server/src/main/java/org/apache/ambari/server/api/services/views/ViewPrivilegeService.java