---
title: "Rename a song"
method: PATCH
path: "/songs/{id}"
tags: ["Songs"]
---

# Rename a song

`PATCH /songs/{id}`

## Request

- Base URL: `https://vocaless.app/api/v1`
- URL: `https://vocaless.app/api/v1/songs/{id}`
- Auth: HTTP bearer

Changes the display name. Nothing else about a song is mutable: stored objects are keyed by id, so a rename never moves any audio.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string, required

## Response `200`

Success

- object
  - `created_at` string, required
  - `duration_seconds` number, nullable, required
  - `id` string, required
  - `name` string, required
  - `status` 'error' | 'ready' | 'separating' | 'uploaded' | 'uploading', required
  - `instrumental_url` string
  - `original_url` string
  - `vocals_url` string

## Other responses

- `400`: `INVALID_REQUEST` — The request body or query failed validation.
- `401`: `UNAUTHORIZED` — Missing, malformed, or revoked API key.
- `404`: `NOT_FOUND` — No such song, or it belongs to another account.
- `429`: `RATE_LIMITED` — Too many requests for this API key.

---

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