> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Command

This endpoint deletes a specific command based on the Command ID.

#### Sample Request

```
curl -X DELETE https://console.jumpcloud.com/api/commands/{CommandID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'

```

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description     |
  | --------- | --------------- |
  | ID        | The command ID. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter       | Description                                                         |
  | --------------- | ------------------------------------------------------------------- |
  | Organization ID | Organization identifier that can be obtained from console settings. |
</div>

## Example Output

```json theme={"dark"}
{
	"_id": "<string>",
	"id": "<string>",
	"name": "<string>",
	"trigger": "<string>",
	"command": "<string>",
	"commandType": "<string>",
	"commandRunners": [],
	"sudo": true,
	"launchType": "<string>",
	"listensTo": "<string>",
	"scheduleRepeatType": "<string>",
	"schedule": "<string>",
	"files": [],
	"timeout": "<string>",
	"organization": "<string>",
	"shell": "<string>",
	"systems": [],
	"timeToLiveSeconds": 53,
	"scheduleYear": 425
}
```

## Workflow Library Example

[Delete Command with Jumpcloud and Send Results Via Email](https://library.blinkops.com/workflows/delete-command-with-jumpcloud-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/delete-command-with-jumpcloud-and-send-results-via-email/canvas" />
</div>
