---
title: DeleteUserCommand.Command
framework: devicemanagement
role: symbol
role_heading: Device Management Command
path: devicemanagement/deleteusercommand/command-data.dictionary
---

# DeleteUserCommand.Command

The command to delete a user’s account from a device.

## Declaration

```data
object DeleteUserCommand.Command
```

## Properties

DeleteAllUsers: If true, the system attempts to delete all users from the device. If ForceDeletion is false, the system generates an error instead and doesn’t delete users who have data that’s pending sync. Available: iOS 14+ | iPadOS 14+ ForceDeletion: If true, the system deletes the account even if the user has data that’s pending sync to the cloud. Available: iOS 9.3+ | iPadOS 9.3+ RequestRequiresNetworkTether: If true, the device needs to be network-tethered to run the command. RequestType: The request type for this command. UserName: The user name of the account to delete. This key is required when the value for DeleteAllUsers is absent or false.
