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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admDeleteProjectComponent(pkey, compname) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | deleteComponent(pkey, compname) |

## Description

> Macro (excerpt)
> 
> Deletes a component from the project.

Deletes a component from the project.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| pkey | String | Yes | Project key |
| compname | String | Yes | Component name |

## Return Type

**Boolean (true/false)**

Returns true if the component was deleted and false otherwise.

## See also

> Macro (contentbylabel)