# Delete unit by UUID

> Deletes a unit identified by its UUID.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/unit-functions/delete-unit-by-uuid/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Description

Deletes a Unit by UUD.

## Syntax

DeleteUnitByUUID(Byval UUIDas String) as Boolean

## Parameters

***UUID (String)***

The UUIDof the unit

## Return value

Boolean. The function returns True if successful, otherwise false.

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
Wscript.echo oCMS.DeleteUnitByUUID("4C4C4544-004E-4210-8038-C8C04F31324A")  
```
