---
title: "Update Workflow"
method: PUT
path: "/connect/workflows/{workflow_name}"
tags: ["Connect Workflows"]
---

# Update Workflow

`PUT /connect/workflows/{workflow_name}`

Update a selected workflow by creating a new version.
New workflow is created off of the latest version in SSM.

## Path parameters

- `workflow_name` string, required

## Parameters

- `#/paths/~1connect~1workflows/get/parameters/0` — unresolved $ref

## Request body

- object
  - `Content` 0, required — unresolved $ref
  - `Tags` string[] — List of workflow tags.

## Response `200`

Success

- object
  - `Description` string, required — Workflow description.
  - `DocumentVersion` string, required — Version of the SSM document.
  - `Editor` string — Editor of the workflow.
  - `EditorId` string — ID of the workflow editor.
  - `Name` string, required — Name to display to owner
  - `ReadOnly` boolean — True for read only workflows else false.
  - `Tags` string[] — List of workflow tags.
  - `UpdatedDate` string — Last updated date of the SSM document.
  - `WorkflowId` string — Unique ID for a workflow document version.
  - `WorkflowOwner` string — Owner of the workflow.
  - `WorkflowOwnerId` string — ID of the workflow owner.
  - `WorkspaceId` string — Workspace the workflow belongs to.
  - `CreatedDate` string, required — Date when workflow was created.
  - `DefaultVersion` string, required — Current default version in SSM.
  - `DisplayName` string, required — Display name of the workflow.
  - `DocumentFormat` string, required — SSM document format.
  - `DocumentType` string, required — SSM document type.
  - `HashType` string, required — Hash type of the SSM.
  - `IsDefault` boolean, required — Tells the default version of the SSM.(true for default version and false for not default version.)
  - `LatestVersion` string, required — Newest version of the document.
  - `Parameters` object[] — Runtime parameters for the workflow.
  - `PlatformTypes` string, required — SSM document platforms.
  - `SSMDocument` string, required — Original SSM document.
  - `SchemaVersion` string, required — SSM schema.
  - `SsmHash` string, required — Hash value of the SSM.
  - `SsmName` string, required — Name of the workflow in ssm.
  - `Status` string, required — Ssm document status
  - `StepDocuments` Items[] — List of step documents used in the SSM document. — unresolved $ref
  - `TenantId` string, required — Cognito ID of the owner.
  - `Versions` object[] — List of available versions.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
