You can call this operation to enable a workflow.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes EnableFlow

The operation that you want to perform. Set the value to EnableFlow.

FlowId String Yes lc-abcdefg

The ID of the workflow to enable.

Response parameters

Parameter Type Example Description
RequestId String D264C934-2DA8-44B4-B034-C659A63AC659

The ID of the request.

Success Boolean true

Indicates whether the operation was successful. A value of true indicates that the operation was successful.

FlowStatus String Enabled

The status of the workflow after this operation was performed.

Examples

Sample requests


http(s)://[Endpoint]/? Action=EnableFlow
&FlowId=lc-abcdefg
&<Common request parameters>

Sample success responses

XML format

<EnableFlowResponse>
    <RequestId>D264C934-2DA8-44B4-B034-C659A63AC659</RequestId>
    <Success>true</Success>
    <FlowStatus>Enabled</FlowStatus>
</EnableFlowResponse>

JSON format

{
	"FlowStatus":"Enabled",
	"RequestId":"D264C934-2DA8-44B4-B034-C659A63AC659",
	"Success":true
}

Error codes

HTTP status code Error code Error message Description
404 InvalidFlow.NotFound The specified workflow does not exist. Verify the availability of the workflow. The error message returned because the specified workflow does not exist. Check whether the workflow is available.

For a list of error codes, visit the API Error Center.