---
title: "Delete an unused theme asset"
method: DELETE
path: "/theme-assets/{id}"
tags: ["Organization Themes"]
---

# Delete an unused theme asset

`DELETE /theme-assets/{id}`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/theme-assets/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Path parameters

- `id` string, required: Theme asset ID

## Query parameters

- `organization_id` string, required: Organization ID
- `confirm` boolean, required: Explicit deletion confirmation

## Response `200`

OK

- DeleteThemeAssetOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `deleted` boolean, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
