You can call this operation to delete a workflow.

Request parameters

Name Type Required Example Description
Id String Yes F-7A39731FE7196358 The ID of the workflow.
ProjectId String Yes FP-257A173659F59685 The ID of the project.
RegionId String Yes cn-hangzhou The ID of the region.

Response parameters

Name Type Example Description
RequestId String 11BAFBD8-8509-4177-A26D-407505E73713 The ID of the request.
Data Boolean true Indicates whether the workflow is deleted.

Examples

  • Sample requests
    
    /? Action=DeleteFlow
    &Id=F-7A39731FE7196358
    &ProjectId=FP-257A173659F59685
    &RegionId=cn-hangzhou 
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"Data":true,
    	"RequestId":"ECC2D0D1-B6D5-468D-B698-30E8805EB574"
    }
  • Error response examples
    JSON format
    {
    	"code":"FLOW_API_FAILED",
    	"message":"Flow does not exist [F-12345]",
    	"requestId":"11BAFBD8-8509-4177-A26D-407505E73713",
    	"successResponse":false
    }

Error codes

View error codes.