Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

Overwriting playlists

Overwriting playlists

I have a playlist and I would like to put some songs (more than 100) in the playlist and overwrite the songs that were there previously. From the docs, it seems like I should be able to do that with PUT to /v1/playlists/playlist_id/tracks, right? But when I do that with no range_start/range_length, etc. it appends my tracks to the end of the list without replacing anything. Also, given that my list of tracks is over 100 and there's no way to specify a position on the playlist, I would just overwrite the first 100 tracks over and over again with my list of tracks. 

I think I'm probably missing something. Does anyone know a way to do this that's easier than getting all the tracks from the playlist, deleting them, and inserting my list?

Reply
1 Reply

Did you ever come up with a solution to that? I'm trying to move 300+ songs to a second playlist but its just overwriting everything and leaving me with the last 50 songs.


Nevermind. I was using PUT instead of POST.

Suggested posts

Let's introduce ourselves!

Hey there you, ย  Yeah, you!ย 😁 ย  Welcome - we're glad you joined the Spotify Community! ย  While you here, let's have a fun game and getโ€ฆ

ModeratorStaff / Moderator/ 5 years ago  in Social & Random