update
Genre
update
Update Genre
This endpoint allows the user to update a specific genre by providing the genre ID in the URL path and the updated genre name in the request body.
Request Body
name: (string) The updated name of the genre.
Response
- If the update is successful, the response will be
null. - If there is an error or the genre ID is not found, an appropriate error response will be returned.
PUT
update