abdullaqudrat/play_full_stack

DELETE songs on playlist end point

Closed this issue · 0 comments

Removes the song with :id from the playlist with :playlist_id

This deletes the existing record in the Playlist Songs table that creates the relationship between this song and playlist. If the playlist/song cannot be found, a 404 will be returned.

If successful, this request will return:

{
"message": "Successfully removed SONG_NAME from PLAYLIST_NAME"
}