code: @Override
    public Action rebootDroplet(Integer dropletId)
        throws DigitalOceanException, RequestUnsuccessfulException {
      validateDropletId(dropletId);
  
      Object[] params = {dropletId};
      return (Action) perform(
          new ApiRequest(ApiAction.REBOOT_DROPLET, new DropletAction(ActionType.REBOOT), params))
              .getData();
    }
docs: Droplet action methods