How to stop a WD MyCloud 2.11 from a local station?

I have a WD MyCloud with release 2.11.
And of course, as it is noted in topics, there is no button Shutdown.
The WD is connected only on a local net controled by a server web Debian.
I want to stop my NAS WD from any station of the local net connected to the site web.
What can be the exact commands (in php) to realise that ?
Thanks.

How to shutdown a v2.x firmware My Cloud using SSH is currently being discussed today in the following thread:

https://community.wd.com/t/turn-off-shut-down-wd-my-cloud-using-android/165551

Next see the following thread that has much more discussion on the Shutdown of a v2.x My Cloud including various methods to shut a v2.x My Cloud down.

https://community.wd.com/t/safe-shutdown/147307