Update an artist
PUT
/api/v1/artists/{artistId}
Update the information of a legendary Argentine Rock artist. Make sure to provide accurate data. You can get the current data using the GETGet an artist endpoint.
Authorizations
bearerAuth
TypeHTTP (bearer)
or
apiKeyHeader
TypeAPI Key (header: X-API-Key)
Parameters
Path Parameters
artistId*
Typeinteger
RequiredExample
1
Format
"int64"
Request Body
application/json
JSON
{
"id": 1,
"name": "Charly García",
"description": "One of the most influential rock musicians in Argentine history.",
"image": "https://cdn.rock-legends.com/photos/charly.jpg",
"band": "Sui Generis"
}
Responses
Artist Updated Successfully
The artist information has been successfully updated in our database.
Response Details
The response includes the complete updated artist object with all the changes you made.
Note: All fields are returned in the response, even if you only updated some of them.
application/json
JSON
{
"id": 1,
"name": "Charly García",
"description": "One of the most influential rock musicians in Argentine history.",
"image": "https://cdn.rock-legends.com/photos/charly.jpg",
"band": "Sui Generis"
}