Manage Tracks in User’s Profile
Learn to manage tracks in a user profile using Spotify API.
We'll cover the following
Manage user's tracks
In this lesson, we'll use two types of HTTP requests. One is used to save a track to a user profile, whereas the other is used to remove a track from a user profile.
The base URL https://api.spotify.com/v1/me/tracks
is used to save or delete tracks from the current user's profile. The PUT
request saves the track, whereas a DELETE
request removes the specified track from the user's profile.
Request parameters
The endpoint to manage user's tracks has the following query parameter:
Get hands-on with 1200+ tech skills courses.