You can call this operation to clone a workflow.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CloneFlow |
The operation that you want to perform. Set the value to CloneFlow. |
Id | String | Yes | F-8C1EB0C6452A82A1 |
The ID of the workflow to be cloned. |
ProjectId | String | Yes | FP-53C4D36FC7310AC0 |
The ID of the project to which the workflow to be cloned belongs. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region where your project resides. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Id | String | F-CDFE2BF3A7963F06 |
The ID of the created workflow. |
RequestId | String | 12E7685E-C7A2-4BED-878B-07AF5BAD475F |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=CloneFlow
&Id=F-8C1EB0C6452A82A1
&ProjectId=FP-53C4D36FC7310AC0
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<CloneFlowResponse>
<RequestId>12E7685E-C7A2-4BED-878B-07AF5BAD475F</RequestId>
<Id>F-CDFE2BF3A7963F06</Id>
</CloneFlowResponse>
JSON
format
{
"RequestId":"12E7685E-C7A2-4BED-878B-07AF5BAD475F",
"Id":"F-CDFE2BF3A7963F06"
}
Error codes
For a list of error codes, visit the API Error Center.