Actions60
- Alarm Actions
- Asset Actions
- Customer Actions
- Dashboard Actions
- Device Actions
- Entity Group Actions
- Relation Actions
- Telemetry Actions
Telemetry → Delete Device Attributes
AI-generatedSummary
Deletes specific attribute keys for a selected device from the ThingsBoard database.
Inputs
- Authentication — Method used to authenticate with ThingsBoard (API Key or Username/Password). Defaults to API Key.
- Attributes Scope — The scope of the attributes to delete: CLIENT_SCOPE, SERVER_SCOPE, or SHARED_SCOPE. Defaults to SERVER_SCOPE. All scopes are supported for delete operations.
- Device ID (required) — The unique identifier of the device (e.g., '784f394c-42b6-435a-983c-b7beff2784f9').
- Attribute Keys (Comma Separated) (required) — A comma-separated list of attribute keys to delete (e.g., 'temperature,humidity,status').
Output shape
No body — success/failure only
Returns an object with a status message indicating success upon a 200 response from the ThingsBoard API.
Examples
Example 1: Clean up device attributes after a calibration event
Device ID: 784f394c-42b6-435a-983c-b7beff2784f9, Scope: SERVER_SCOPE, Keys: calibration_status, last_calibration_ts
Example 2: Remove temporary debug attributes from multiple devices
Device ID: 8a1b2c3d-4e5f-6789-0abc-def123456789, Scope: CLIENT_SCOPE, Keys: debug_mode, debug_log_level