How can I shutdown/restart a deployment with OpsManager API?

Hello folks,

I’d like to restart and shutdown a mongodb deployment managed by OpsManager using API. I’ve read through the documentation [1], but couldn’t figure how I can do so? Any ideas about it?

Any help would highly be appreciated!

[1] Documentation: Projects — MongoDB Ops Manager 6.0