code: public String delete_attribute(Map<String, Object> data) {
          String type = data.get("type").toString();
          Gson gson = new Gson();
          String json = gson.toJson(data);
          return post("attribute/" + type, json);
      }
docs: /*
  Delete a specific type of attribute information.
  @param {Object} data contains json objects as a key value pair from HashMap.
  @options data {Integer} type: Type of attribute to be deleted [Mandatory]