src/Brick/User/UserManager.php
public function deactivateUser($userId = 0)
	{
		$user = $this->get($userId);
		if ($user) {
			$this->repository->update($userId, ['active' => '0']);

			return TRUE;
		}

		return FALSE;
	}
public function deactivateUser($userId = 0)
	{
		$user = $this->get($userId);
		if ($user) {
			$this->repository->update($userId, ['active' => '0']);

			return TRUE;
		}

		return FALSE;
	}
Deactivate user

@param int $userId

@return bool