---
title: "Delete an asset"
method: DELETE
path: "/api/assets/{assetId}"
tags: ["Media"]
---

# Delete an asset

`DELETE /api/assets/{assetId}`

## Request

- Base URL: `https://api-app.postnext.io`
- URL: `https://api-app.postnext.io/api/assets/{assetId}`
- Auth: API key in header `x-api-key`

Deletes an owned asset. Note: a missing asset currently returns 500
(not 404) because the not-found case surfaces from a generic catch.

## Path parameters

- `assetId` string, required

## Response `200`

Deleted

- object
  - `success` boolean
  - `message` string

## Other responses

- `400`: Missing assetId/teamId
- `401`: Missing or invalid API key

---

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