code: function(userId, properties, callback) {
        if (!userId) return callback(new Error(utils.i18n.identities.id));
        utils.debug('Identity edit: ' + userId);
  
        request.patch({
          path: '/users/' + userId + '/identity',
          body: Object.keys(properties).map(function(propertyName) {
            return {
              operation: 'set',
              property: propertyName,
              value: properties[propertyName]
            };
          })
        }, callback || utils.nop);
      }
docs: Edit Identity properties.
  
  @param  {String}   userId          User ID
  @param  {Object}   properties      Hash of properties to update
  @param  {Function} callback        Callback function