renameContainer

Sonos uses renameContainer to rename a playlist. See Add playlists for details.

Request parameters

NameTypeDescription
idstring(128)Unique ID of the playlist.
titlestring(128)New title of the playlist.

Note: If a listener has an existing playlist created with your native client with a title greater than 128 characters, we allow the renamed title length to be equal to the length of the original title.

Response

None.

Sample request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <renameContainer xmlns="http://www.sonos.com/Services/1.1">
      <id>playlist-001</id>
      <title>Modern Rock Mix</title>
    </renameContainer>
  </soap:Body>
</soap:Envelope>

Sample response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <renameContainerResponse xmlns="http://www.sonos.com/Services/1.1">
      <renameContainerResult />
    </renameContainerResponse>
  </soap:Body>
</soap:Envelope>