---
title: "Delete media"
method: DELETE
path: "/media/{id}"
tags: ["Media"]
---

# Delete media

`DELETE /media/{id}`

## Request

- Base URL: `https://api.postplanify.com/api/v1`
- URL: `https://api.postplanify.com/api/v1/media/{id}`
- Auth: HTTP bearer

Deletes an uploaded media file. Files already attached to published posts are not affected.

## Path parameters

- `id` string, uuid, required

## Response `204`

Media deleted

## Other responses

- `404`: Media not found

---

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