> For the complete documentation index, see [llms.txt](https://docs.omics.ai/products/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omics.ai/products/command-line-interface/reference/workbench/workflows-versions-dependencies-delete.md).

# workflows versions dependencies delete

Delete a workflow dependency

## Synopsis

```shell
omics workbench workflows versions dependencies delete
  --workflow=WORKFLOW_ID
  --version=VERSION_ID
  DEPENDENCY_ID
  [--global]
  [--force]
  [--namespace=NAMESPACE]
```

## Description

Delete an existing workflow dependency. This command permanently removes a dependency relationship, allowing the workflow to run without waiting for the specified prerequisite workflows.

By default, the command prompts for confirmation before deletion. Use the `--force` flag to skip this confirmation prompt.

## Examples

Delete a workflow dependency with confirmation prompt:

```shell
omics workbench workflows versions dependencies delete \
  --workflow 40c67272-3553-4bb1-8662-81c81acff347 \
  --version latest \
  5a0082d1-84d8-409a-8cea-5fbde03a0c68
```

Delete a workflow dependency without confirmation prompt:

```shell
omics workbench workflows versions dependencies delete \
  --workflow 40c67272-3553-4bb1-8662-81c81acff347 \
  --version v2.0 \
  --force \
  5a0082d1-84d8-409a-8cea-5fbde03a0c68
```

Delete a global dependency (admin only):

```shell
omics workbench workflows versions dependencies delete \
  --workflow 40c67272-3553-4bb1-8662-81c81acff347 \
  --version latest \
  --global \
  --force \
  5a0082d1-84d8-409a-8cea-5fbde03a0c68
```

## Flags

### `--workflow`=`WORKFLOW_ID`

**Required**. Specify the UUID of the workflow containing the dependency you want to delete.

### `--version`=`VERSION_ID`

**Required**. Specify the version ID of the workflow containing the dependency you want to delete.

### `DEPENDENCY_ID`

**Required**. The ID of the dependency to delete.

### `--global`

Delete a global dependency that applies across all namespaces. This flag requires administrator privileges and adds the `X-Admin-Only-Action` header to the request.

### `--force`

Skip the confirmation prompt and immediately delete the specified dependency. Use with caution as this action cannot be undone.

### `--namespace`=`NAMESPACE`

An optional flag to define the namespace to connect to. By default, the namespace is extracted from the user's credentials.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.omics.ai/products/command-line-interface/reference/workbench/workflows-versions-dependencies-delete.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
