---
title: "Remove an object (by id and type, or track number, or clear) from a playlist"
method: POST
path: "/playlists/{playlist_id}/remove"
tags: ["Playlists"]
---

# Remove an object (by id and type, or track number, or clear) from a playlist

`POST /playlists/{playlist_id}/remove`

## Path parameters

- `playlist_id` string, required

## Query parameters

- `id` string
- `type` 'song' | 'album' | 'artist' | 'playlist'
- `track` string
- `clear` 0 | 1

## Response `200`

Success

- SuccessResponse
  - `success` string

## Other responses

- `400` — Ampache API error response payload.

## Changes

- **2026-07-17** `9abb9bf6d3bf` — 1 breaking
  - api path removed without deprecation
- **2026-07-11** `2db906b9afb1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/playlists/:playlist_id/remove/post.md)

---

[API](https://skmtc.dev/ampache/apis/ampache-rest-api.md) · [All operations](https://skmtc.dev/ampache/apis/ampache-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ampache/ampache-rest-api/revisions/0366bc42fb8f/schema)
