---
title: "DELETE /api/projects/{project_id}/uploaded_media/{id}/"
method: DELETE
path: "/api/projects/{project_id}/uploaded_media/{id}/"
tags: ["uploaded_media"]
---

# DELETE /api/projects/{project_id}/uploaded_media/{id}/

`DELETE /api/projects/{project_id}/uploaded_media/{id}/`

## Request

- Base URL: `https://us.posthog.com`
- URL: `https://us.posthog.com/api/projects/{project_id}/uploaded_media/{id}/`
- Auth: HTTP bearer

Remove an image from its media library. It stops appearing in the library list, but its URL keeps working, so content that already uses it (a sent email, a live template) is not broken.

## Path parameters

- `id` string, uuid, required
- `project_id` string, required

## Response `204`

The image was removed from its library.

## Other responses

- `404`: No library image with this id for this team.

## Changes

> 52 revisions in range; 1 not diffed.

- **2026-10-14** `43c0d2b00ce0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/posthog/apis/posthog-api/changes/api/projects/:project_id/uploaded_media/:id/delete.md)

---

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