Update Playlist of User
To edit the data in the specified collection with the specified parameters. When a JSON object is saved, the object properties are automatically added to the collection you specified.
Method : PUT
URL : /api/playlist
Body : JSON
{
  "id": 6,
  "name": "New Edited Playlist"
}idRequired
number
Id of Playlist.
nameRequired
string
Name of Playlist.
Response : 200 - OK
{
  "message": "Success update playlist"
}Response : 422 - Unprocessable Content
{
  "error": "Name required"
}Response : 404 - Not Found
Not FoundResponse : 500 - Server Error
Internal Server Error