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
The ID of the workflow release to remove from clusters.
The clusters to remove the release from.
Returns
The result, including the release and affected clusters.
deployment, err := client.Workflows.UndeployRelease(ctx,
workflow.Slug,
release.ID,
[]string{"production"},
)