deleteContainer

Sonos uses deleteContainer to delete playlists. See Add playlists for details.

Request parameter

NameTypeDescription
idstring(255)Unique ID of the playlist.

Response

None required. Optionally, you can include a deleteContainerResult in a deleteContainerResponse.

Sample request

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

Sample response

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