updateProfileMapping(request) {
    const mappings = request.getBody();

    return global.kuzzle.internalIndex.updateMapping("profiles", mappings);
  }
Update the profiles collection mapping
@param {Request} request
@returns {Promise}