[[reference-nodes-clear_repositories_metering_archive]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.nodes.clearRepositoriesMeteringArchive You can use this API to clear the archived repositories metering information in the cluster. {ref}/clear-repositories-metering-archive-api.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (NodesClearRepositoriesMeteringArchiveRequest, options?): Promise ---- [discrete] ===== `NodesClearRepositoriesMeteringArchiveRequest` [source,ts] ---- interface NodesClearRepositoriesMeteringArchiveRequest extends <> { node_id: <> max_archive_version: <> } ---- [discrete] ===== `NodesClearRepositoriesMeteringArchiveResponse` [source,ts] ---- type NodesClearRepositoriesMeteringArchiveResponse = NodesClearRepositoriesMeteringArchiveResponseBase ----