@PUT @ApiIgnore // until documented, not supported
  @Path("{permissionId}")
  @Produces(MediaType.TEXT_PLAIN)
  public Response updatePermission(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 = "permission id") @PathParam("permissionId") String permissionId) {

    return handleRequest(headers, body, ui, Request.Type.PUT, createPermissionResource(
        viewName, version, permissionId));
  }
Handles: PUT /views/{viewName}/versions/{version}/permissions/{permissionID}
Update a specific permission.

@param headers       http headers
@param ui            uri info
@param viewName      view id
@param version       version id
@param permissionId  permission id
@return information regarding the updated permission
ambari-server/src/main/java/org/apache/ambari/server/api/services/views/ViewPermissionService.java