code: @DELETE
      @Produces(MediaType.APPLICATION_JSON)
      @Path("/revoke_oauth_access/{appName}")
      @Description("Revokes Oauth access of app from argus for a particular user")
      public Response removeAccess(@Context HttpServletRequest req,@PathParam("appName") String appName) {
          String userName=findUserByToken(req);
  
          if(appName.equalsIgnoreCase(applicationName))
          {
              authService.deleteByUserId(userName);
              return Response.status(Status.OK).build();
          }
          else
          {
              throw new OAuthException(ResponseCodes.ERR_DELETING_APP, HttpResponseStatus.BAD_REQUEST);
          }
  
      }
docs: Revokes Oauth access of app from argus for a particular user
  
  @param req       The Http Request with authorization header
  @param appName   Application Name which is recognized by Argus Oauth
  @return          Returns either Success or OAuthException