---
title: "Clear a device playlist"
method: DELETE
path: "/api/devices/{device_id}/playlist"
tags: ["Playlists"]
---

# Clear a device playlist

`DELETE /api/devices/{device_id}/playlist`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/devices/{device_id}/playlist`
- Auth: HTTP bearer

Removes every item from the device playlist. The plugin settings stay in the account.

## Path parameters

- `device_id` integer, required

## Response `200`

Cleared

- object
  - `data` object
    - `success` boolean

## Other responses

- `401`: Unauthorized
- `404`: Device belongs to another user

---

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