---
title: "Delete asset"
method: DELETE
path: "/api/apps/{app_id}/assets/{asset_id}"
---

# Delete asset

`DELETE /api/apps/{app_id}/assets/{asset_id}`

## Request

- Base URL: `https://app.base44.com`
- URL: `https://app.base44.com/api/apps/{app_id}/assets/{asset_id}`
- Auth: HTTP bearer

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Removes an asset from the app's media library. This can't be undone.

When the file is stored with Base44 for this app, the file is deleted too, and its URL stops working, including in the app's code. A file added by URL from somewhere else stays where it is. The asset is removed even if deleting the file fails.

This endpoint is limited to 120 requests per minute, shared with Create asset, Rename asset and Delete asset. Some workspaces have a different limit.

<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app. A read-only key is refused, and workspace API keys are not accepted.</Note>

## Path parameters

- `asset_id` string, required: ID of the asset to delete. Get it from `id` in [List assets](/api-reference/list-assets).
- `app_id` string, required: ID of the app whose media library to change.

## Response `200`

The asset was removed.

- DeletedAsset
  - `success` boolean, required: Always `true`.

## Other responses

- `401`: Missing or invalid credentials.
- `403`: You don't have editor access to this app, the app is blocked, your API key is read-only, or you used a workspace API key.
- `404`: App not found, or the app has no asset with this ID.
- `429`: Rate limit exceeded. The base limit is 120 requests per minute. See [Rate limits](/developers/references/apps-api/get-started/rate-limits) for the multiplier your plan gets.

## Changes

- **2026-10-11** `80287813ab84`: 1 info
  - the endpoint scheme security `PersonalAccessTokenAuth` was added to the API
- **2026-10-10** `fc604cdcc3a2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/idealspot/apis/base44-app-management-api/changes/api/apps/:app_id/assets/:asset_id/delete.md)

---

[API](https://skmtc.dev/idealspot/apis/base44-app-management-api.md) - [All operations](https://skmtc.dev/idealspot/apis/base44-app-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/idealspot/apis/base44-app-management-api/revisions/b5b4ebd82a1e?raw)
