---
title: "Update Music Track"
method: PATCH
path: "/music-tracks/{track_id}"
tags: ["music-tracks"]
---

# Update Music Track

`PATCH /music-tracks/{track_id}`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/music-tracks/{track_id}`
- Auth: HTTP bearer

Update a music track (volume, loop, position, etc.).

## Path parameters

- `track_id` string, required

## Request body

- UpdateMusicTrackRequest
  - `name` string, nullable
  - `volume` number, nullable
  - `loop` boolean, nullable
  - `start_frame` integer, nullable
  - `duration_frames` integer, nullable
  - `position` integer, nullable
  - `trim_start_frame` integer, nullable
  - `trim_end_frame` integer, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/framesail/apis/framesail-api.md) · [All operations](https://skmtc.dev/framesail/apis/framesail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/framesail/apis/framesail-api/revisions/12602eae0820?raw)
