v1

latestOpenAPI 3.1.02026-07-246652306.5 KB
groups

modifyGroupMembers

Use the modifyGroupMembers command in the groups namespace to add players to and remove players from a group. In response to this command, Sonos first adds players to the group, then removes players from the group.

post/groups/{groupId}/groups/modifyGroupMembers

Request body

playerIdsToAddstring[] nullable

An array of player ID strings of players to add to the group.

playerIdsToRemovestring[] nullable

An array of player ID strings of players to remove from the group.

Response

Returns a groupInfo object, which currently only includes a group object. The groupInfo object may include additional information in the future.

Muse v2 sends playerSetError which includes playerIds array since version 1.17.0