ThingsBoard icon

ThingsBoard

Interact with ThingsBoard REST API

Asset → Delete

AI-generated

Summary

Delete an asset by ID

Inputs

  • authentication — Authentication method (API Key or Username/Password)
  • assetId (required) — A string representing the asset ID, e.g., "784f394c-42b6-435a-983c-b7beff2784f9"

Output shape

{deleted: true}

On success the node returns a JSON object with a boolean deleted set to true; errors propagate as node errors.

Examples

Example 1: Delete a specific asset

Select Asset resource, set Operation to Delete, choose authentication (e.g., API Key), and provide the assetId.

Example 2: Bulk delete via workflow

Use the same node in a loop, feeding multiple asset IDs from items; each deletion returns {deleted:true}.

Example 3: Delete with Username/Password auth

Choose Username / Password auth, fill credentials, set Operation to Delete, and specify assetId.

Links

Discussion