protected function getApiClient($scopes = null)
{
if ($scopes === null) {
$scopes = ['create', 'read', 'delete', 'update'];
}
$env = $this->getEnv();
$token = $this->getToken($env, ['users' => ['actions' => $scopes]]);
$this->domain = $env['DOMAIN'];
$api = new Management($token, $this->domain);
return $api->users;
}