uploaded_media
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.
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
Path parameters
idstring uuid required
A UUID string identifying this uploaded media.
project_idstring required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
The image was removed from its library.
Changes
- info
endpoint added
- info