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

# Update workflow

> Changes a workflow's name, description or folder. It does not edit blocks or steps; use the block and step operations for that.



## OpenAPI

````yaml /specs-prettified/realtime/openapi.stable.json patch /v1/stable/workflow/{workflowID}
openapi: 3.0.0
info:
  title: Realtime
  description: Realtime gateway API service
  version: 1.0.0
  contact: {}
servers:
  - url: https://realtime-api.voiceflow.com
security: []
tags: []
paths:
  /v1/stable/workflow/{workflowID}:
    patch:
      tags:
        - Workflow
      summary: Update workflow
      description: Changes a workflow's name, description or folder. It does not edit
        blocks or steps; use the block and step operations for that.
      operationId: StableWorkflowController_update
      parameters:
        - name: workflowID
          required: true
          in: path
          schema:
            type: string
          x-vf-doc:
            description: The ID of the workflow to operate on.
          description: The ID of the workflow to operate on.
        - name: projectID
          required: true
          in: query
          schema:
            type: string
            description: The ID of the project to operate on.
        - name: environmentAlias
          required: true
          in: query
          schema:
            type: string
            description: The alias of the environment to operate on (e.g. `main`).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/StableWorkflowUpdateRequest"
      responses:
        "200":
          description: Confirms the workflow was updated. Only a confirmation message
            comes back, so refetch the workflow to see its new values.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/StableUpdateResponse"
          x-vf-doc:
            description: Confirms the workflow was updated. Only a confirmation message
              comes back, so refetch the workflow to see its new values.
      security:
        - token: []
components:
  schemas:
    StableWorkflowUpdateRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 255
        description:
          nullable: true
          type: string
        folderID:
          description: A workflow folder in this environment, or null for the top level.
          nullable: true
          type: string
      additionalProperties: false
    StableUpdateResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable message confirming the update.
      required:
        - message
  securitySchemes:
    token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Voiceflow bearer token
````
