docs: function update (client) {
    return function update (realmName, user) {
      return new Promise((resolve, reject) => {
        user = user || {};
        const req = {
          url: `${client.baseUrl}/admin/realms/${realmName}/users/${user.id}`,
          auth: {
            bearer: privates.get(client).accessToken
          },
          json: true,
          method: 'PUT',
          body: user
        };
  
        request(req, (err, resp, body) => {
          if (err) {
            return reject(err);
          }
  
          // Check that the status cod
          if (resp.statusCode !== 204) {
            return reject(body);
          }
  
          return resolve(body);
        });
      });
    };
  }