Skip to main content
POST
Remove one track from a playlist. Deletes the app.rocksky.playlist.song record that put it there, which only the repo that added it can do. Prefer `index`: a song can sit in a playlist more than once, and `songUri` alone cannot say which copy to drop.

Authorizations

Authorization
string
header
required

Rocksky bearer token.

Query Parameters

uri
string
required

The URI of the playlist to remove the track from

songUri
string

The URI of the app.rocksky.song record to remove. Removes every copy of it; pass index instead to remove one.

index
integer

0-based position of the entry to remove, in the order getPlaylist returns.

Required range: x >= 0

Response

Success