调用RemoveWorkflow删除某个指定工作流。

请求信息

请求行RequestLine

DELETE /gs/workflow/{workflowName}    HTTP/1.1

特有请求头RequestHead

无,请参见公共请求头部

请求体RequestBody

返回信息

返回行ResponseLine

HTTP/1.1 200 OK

特有返回头ResponseHead

无,请参见公共返回头部

返回体ResponseBody

示例

请求示例(Python)

#!/usr/bin/env python
#coding=utf-8

from aliyunsdkcore.client import AcsClient
from aliyunsdkcore.request import CommonRequest
import os
client = AcsClient(os.environ['accessKeyID'], os.environ['accessKeySecret'], 'cn-beijing')

request = CommonRequest()
request.set_accept_format('json')
request.set_method('DELETE')
request.set_protocol_type('https') # https | http
request.set_domain('cs.cn-beijing.aliyuncs.com')
request.set_version('2015-12-15')

request.add_query_param('RegionId', "cn-beijing")
request.add_header('Content-Type', 'application/json')
request.set_uri_pattern('/gs/workflow/wgs-gpu-97xfn')


response = client.do_action_with_exception(request)

print(response)