---
title: "Delete asset (deleteAsset)"
method: DELETE
path: "/api/asset/{assetId}"
tags: ["asset-controller"]
---

# Delete asset (deleteAsset)

`DELETE /api/asset/{assetId}`

Deletes the asset and all the relations (from and to the asset). Referencing non-existing asset Id will cause an error.

Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority.

## Path parameters

- `assetId` string, required

## Response `200`

OK

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
