Uninstall apoctl
To remove the apoctl executable as well as the directory it stores its credentials and profile information in, use the commands that correspond to the operating system of the host.
[,console]
sudo rm /usr/local/bin/apoctl
sudo rm -rf .apoctl
[,powershell]
Start-Process msiexec.exe -ArgumentList '/x apoctl.msi /quiet' -Wait ; `
if($?) {rm 'apoctl.msi'} ; `
if($?) {rm '.apoctl' -r -fo}
Use one of the following commands to remove the MICROSEG_API environment variable from the host.
[,console]
unset MICROSEG_API
sed -i '' '/^export MICROSEG_API/d' ~/.bash_profile
[,powershell]
$env:MICROSEG_API="" `
[System.Environment]::SetEnvironmentVariable('MICROSEG_API',$null,'User')
Most Popular
Recommended For You
Recommended Videos
Recommended videos not found.