Add Shutdown to REST API commands

I control Volumio playback, volume etc using the REST API functionality. Is it achievable to add another command that would initiate shutdown?

volumio.local/api/v1/commands/?cmd=shutdown

By shutdown I mean what in the Web UI is termed “Power Off”