All Products
Search
Document Center

CloudFlow:PublishFlowVersion

Last Updated:Oct 24, 2025

Publishes a new version of a flow based on its current definition. A flow version includes the flow's definition, description, environment variable settings, and execution role. The version number starts at 1 and increments with each new version.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

FlowName

string

Yes

The name of the flow.

example-flow-name

Description

string

No

The description of the version.

example flow description

Response elements

Element

Type

Description

Example

object

The schema of the response.

RequestId

string

The ID of the request.

294D68C1-5108-5971-853A-1A9CC87B4816

FlowName

string

The name of the flow.

my-flow-name

Version

string

The version of the flow.

1

Description

string

The description of the flow version.

my flow description

CreatedTime

string

The time when the flow version was created.

2025-10-24T14:11:26+08:00

Examples

Success response

JSON format

{
  "RequestId": "294D68C1-5108-5971-853A-1A9CC87B4816",
  "FlowName": "my-flow-name",
  "Version": "1",
  "Description": "my flow description",
  "CreatedTime": "2025-10-24T14:11:26+08:00"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.