> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rawchunks.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove a song from its album

> Clear a song’s album association.

Use the actual album and song IDs, and check the current association before sending. This clears the song’s album association.

## Headers and parameters

<ParamField path="id" type="string" required>
  Resource ID.
</ParamField>

<ParamField path="songId" type="string" required>
  Resource ID.
</ParamField>

## Response (200)

Success.

<ResponseField name="success" type="boolean" required />

<ResponseField name="songId" type="string" required />

## Errors

Failed JSON responses contain an `error` string. Check the HTTP status before reading a successful result. See [job handling](/dev/guides/jobs) for interrupted or uncertain submissions.

| Status | Meaning |
| - | - |
| `400` | Invalid request. |
| `500` | Request failed. |

<RequestExample>
  ```bash cURL theme={null}
  curl --fail-with-body -X DELETE "$RAWCHUNKS_API/api/albums/$(jq -nr --arg v "$ID" '$v|@uri')/songs/$(jq -nr --arg v "$SONG_ID" '$v|@uri')"
  ```
</RequestExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.