Use the togglePlayPause command in the playback namespace to toggle the playback state on the given group, if possible. Upon completion of the command, the player sends playbackStatus events to all subscribers. When toggling from pause to play, this functions similar to the play command. When transitioning from play to pause, it functions like the pause command. See those commands for more details about the functionality of those states.
400The given resource/object identifier is invalid
401A client has not provided authorization credentials to perform a command
403A client does not have the correct permissions to perform a command
500Sonos has experience an unexpected condition it is unable to recover from
503Player is unable to reach the service.
