This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Artist ID
Body
application/json
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/
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"
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/artist/example-id', {
  method: 'PUT',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "artistName": "sample-artistName",
    "signDate": "2024-01-21",
    "label": "sample-label",
    "externalId": "sample-externalId",
    "links": {},
    "split": [
      {
        "user": "sample-user",
        "share": 1
      }
    ]
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Artist ID