async truncate(request) {
    const { index, collection } = request.getIndexAndCollection();

    await this.ask(
      "core:storage:public:collection:truncate",
      index,
      collection,
    );

    return {
      acknowledged: true,
    };
  }
Reset a collection by removing all documents while keeping the existing mapping

@param {KuzzleRequest} request
@returns {Promise.<Object>}