pm2 stop process

C++
pm2 start app.js --name "my-api"
pm2 start web.js --name "web-interface"

pm2 stop web-interface

pm3 restart web-interfacepm2 listpm2 stop <processname>
Source

Also in C++: