# Delete Local User Account

> Deletes a local user account if it exists.

Source: https://docs.capaone.com/capaone/application-manager/powerbricks/delete-local-user-account/  
Product: CapaOne — a separate CapaSystems product; do not apply this page to any other.

Deletes a local user account if it exists.

## Parameters

#### Username
*Required*

Specifies the local user account to delete.

## Details

- **Category:** User management
- **Brick ID:** `UsrMgr-DeleteLocalUserAccount`

## Raw JSON definition

**JSON**

```json
{
  "category": "userManagement",
  "description": "Deletes a local user account if it exists.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "UsrMgr-DeleteLocalUserAccount",
  "name": "Delete Local User Account",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "Specifies the local user account to delete.",
      "id": "Username",
      "name": "Username",
      "regExValidation": "",
      "required": true,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "ZnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
