---
title: "Workflows.UndeployRelease"
description: "Remove a workflow release from one or more clusters."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

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

# Workflows.UndeployRelease

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

import ParamField from "@docs/components/ParamField.astro";

```go
func (workflowClient) UndeployRelease(
    ctx context.Context,
    workflowSlug string,
    releaseID uuid.UUID,
    clusterSlugs []string,
) (*workflows.WorkflowReleaseDeployment, error)
```

Remove a workflow release from one or more clusters.

## Parameters

**workflowSlug**

type: string

required: true

The workflow slug.
**releaseID**

type: uuid.UUID

required: true

The ID of the workflow release to remove from clusters.
**clusterSlugs**

type: []string

required: true

The clusters to remove the release from.

## Returns

The result, including the release and affected clusters.

<h2 id="request-example">Usage example</h2>

```go
deployment, err := client.Workflows.UndeployRelease(ctx,
    workflow.Slug,
    release.ID,
    []string{"production"},
)
```

Source: https://tilebox.com/docs/api-reference/go/workflows/Workflows.UndeployRelease/index.mdx
