@PUT
  @Path("{actionName}")
  @Produces(MediaType.TEXT_PLAIN)
  @ApiOperation(value = "Updates an action definition - Currently Not Supported",
      nickname = "ActionService#updateActionDefinition"
  )
  @ApiImplicitParams({
      @ApiImplicitParam(dataType = ACTION_REQUEST_TYPE, paramType = "body")
  })
  @ApiResponses({
      @ApiResponse(code = HttpStatus.SC_BAD_REQUEST, message = MSG_INVALID_REQUEST),
      @ApiResponse(code = HttpStatus.SC_UNAUTHORIZED, message = MSG_NOT_AUTHENTICATED),
      @ApiResponse(code = HttpStatus.SC_FORBIDDEN, message = MSG_PERMISSION_DENIED),
      @ApiResponse(code = HttpStatus.SC_INTERNAL_SERVER_ERROR, message = MSG_SERVER_ERROR),
  })
  public Response updateActionDefinition(String body, @Context HttpHeaders headers, @Context UriInfo ui,
                                @ApiParam(required = true) @PathParam("actionName") String actionName) {

    return handleRequest(headers, body, ui, Request.Type.PUT, createActionDefinitionResource(actionName));
  }
Handles: PUT /actions/{actionName}
Update a specific action definition.

@param headers     http headers
@param ui          uri info
@param actionName  action name
@return information regarding the updated action
ambari-server/src/main/java/org/apache/ambari/server/api/services/ActionService.java