Update a playlist by ID

This endpoint allows you to update the name and description of an existing playlist. It enables modifications to the playlist's metadata without altering the media items or playlist structure. #### How it works - When a user sends a PUT request to this endpoint with the `playlistId` and updated name and description in the request body, FastPix updates the playlist metadata accordingly and returns the updated playlist details. #### Example An e-learning platform updates the playlist titled "Beginner Python Series" to rename it as "Python Basics" and add a more detailed description. The updated metadata is reflected when retrieving the playlist, helping users better understand the playlist content.

Authentication

AuthorizationBasic
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request. - <b>Username:</b> Access Token ID - <b>Password:</b> Secret Key Activate your FastPix account to generate your API credentials. <a href="https://docs.fastpix.io/docs/activate-account" target="_blank">See the guide here</a>

Path parameters

playlistIdstringRequired
The unique id of the playlist you want to retrieve.

Request

This endpoint expects an object.
namestringRequiredDefaults to updated name
New name to the playlist.
descriptionstringRequiredDefaults to updated description
Updated description to the playlist.

Response

Playlist updated successfully
successboolean
Shows the request status. Returns true for success and false for failure.
dataobject
Displays the result of the request.