Skip to main content
PUT
/
asset
/
{id}
/
artists
Update asset artists
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/asset/{id}/artists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "artists": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "success": true,
  "message": "<string>",
  "data": {}
}
Update the artists associated with an asset.

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathAsset ID

Request Body

Request Schema

FieldTypeRequiredDescription
artistsarray

Responses

✅ 200 - Asset artists updated successfully

⚠️ 400 - undefined

⚠️ 401 - undefined

⚠️ 404 - undefined

❌ 500 - undefined

Tags

Asset

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Asset ID

Body

application/json
artists
string<uuid>[]

Response

Asset artists updated successfully

success
boolean
Example:

true

message
string
data
object
I