Skip to main content
PUT
/
releases
/
{id}
/
tracks
/
{trackId}
Update a track (release asset)
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/releases/{id}/tracks/{trackId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Hit Single",
  "version": "Radio Edit",
  "isrc": "USABC1234567",
  "iswc": "T-123456789-0",
  "duration": 213,
  "lyrics": "<string>",
  "language": "en",
  "displayArtist": "Artist Name",
  "artists": {}
}'
{
  "success": true,
  "data": {
    "title": "Hit Single",
    "version": "Radio Edit",
    "isrc": "USABC1234567",
    "iswc": "T-123456789-0",
    "duration": 213,
    "lyrics": "<string>",
    "language": "en",
    "displayArtist": "Artist Name",
    "artists": {}
  },
  "message": "Track updated successfully"
}
Updates an existing track in the specified release. Only allowed for releases in ‘draft’ or ‘rejected’ status.

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathRelease ID
trackIdstringpathTrack ID

Request Body

Responses

✅ 200 - Track updated successfully

⚠️ 400 - undefined

⚠️ 401 - undefined

⚠️ 404 - undefined

❌ 500 - undefined

Tags

Release Asset

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Release ID

trackId
string<uuid>
required

Track ID

Body

application/json
title
string
required
Example:

"Hit Single"

displayArtist
string
required
Example:

"Artist Name"

version
string | null
Example:

"Radio Edit"

isrc
string | null
Example:

"USABC1234567"

iswc
string | null
Example:

"T-123456789-0"

duration
number | null
Example:

213

lyrics
string | null
language
string
default:en
Example:

"en"

artists
object

Response

Track updated successfully

success
boolean
Example:

true

data
object
message
string
Example:

"Track updated successfully"

I