Skip to main content
PUT
/
artist
/
{id}
Update Artist
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "artistName": "<string>",
  "signDate": "2023-12-25",
  "label": "<string>",
  "externalId": "<string>",
  "links": {},
  "split": [
    {
      "user": "<string>",
      "share": 123
    }
  ]
}'
{
  "message": "Artist updated successfully"
}
artist/ Description:
The /artist/{id} endpoint allows updating the details of a specific artist identified by their unique ID.
Method:
PUT
Path Parameter:
ParameterTypeDescription
idstringThe unique identifier of the artist.
Request Payload:
ParameterTypeDescription
artistNamestringThe updated name of the artist.
signDatedateThe updated sign date.
labelstringThe updated label.
externalIdstringThe updated external ID.
linksobjectUpdated links.
splitarrayUpdated split information.

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathArtist ID

Request Body

Request Schema

FieldTypeRequiredDescription
artistNamestring
signDatestring
labelstring
externalIdstring
linksobject
splitarray

Responses

✅ 200 - Success

⚠️ 401 - Unauthorized

⚠️ 404 - Not Found

❌ 500 - Internal Server Error

Tags

Artist

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

Artist ID

Body

application/json
artistName
string
signDate
string<date>
label
string
externalId
string
split
object[]

Response

Success

message
string
artist
object
I