---
title: "insight_deleteObject"
canonical: "https://support.appfire.com/space/PSJ/15487529/insight_deleteObject"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | insight_deleteObject(id_or_key) | **Package** | insight |
| **Alias** |  | **Pkg Usage** | deleteObject(id_or_key) |

## Description

> Macro (excerpt)
> 
> Deletes an insight object. Returns true if the deletion succeeded, false otherwise.

Deletes an insight object. Returns true if the deletion succeeded, false otherwise.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| id_or_key | String | Yes | The Insight object to be deleted. |

## Return Type

**Boolean**

## See also

> Macro (contentbylabel)