---
title: "Class DeleteCommand"
slug: "cli--sitecore.ch.cli.plugin.orders.commands.deletecommand"
abstract: ""
---
# Class DeleteCommand

Deletes a download order.

## Inheritance

object

System.CommandLine.Symbol

System.CommandLine.IdentifierSymbol

[Command](https://learn.microsoft.com/dotnet/api/system.commandline.command)

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<THandler>Sitecore.CH.Cli.Plugin.Orders.CommandHandlers.DeleteCommandHandler

DeleteCommand

## Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.OrdersCommands

## Assembly: Sitecore.CH.Cli.Plugin.Orders.dll

## Syntax

```csharp
public class DeleteCommand : BaseCommand<DeleteCommandHandler>
```

## Remarks

**Required parameters**

- `--id` Specifies the order id

**Optional parameters**

- `--endpoint -e` Specifies an alternative endpoint name for the execution of this command.

**Global parameters**

- `-? --help -h` Show this help message and exit.
- `-v --verbosity` Enables verbose logging.

## Examples

```csharp
ch-cli orders delete --id "<order id>"
```
