调用DisableWorkflow禁用指定工作流。

请求参数

名称 类型 是否必选 示例值 描述
Namespace String 是 adcfc35d-e2fe-4fe9-bbaa-20e90ffc****

命名空间ID,在控制台的命名空间页面中获取。

RegionId String 是 cn-hangzhou

地域ID。

WorkflowId Long 是 111

工作流ID。

NamespaceSource String 否 schedulerx

特殊第三方才需要填写。

GroupId String 否 testSchedulerx.defaultGroup

应用ID,在控制台的应用管理页面中获取。

返回数据

名称 类型 示例值 描述
Code Integer 200

返回码

Message String Your request is denied as lack of ssl protect.

错误消息,仅错误时返回错误信息。

RequestId String 4F68ABED-AC31-4412-9297-D9A8F0401108

请求唯一ID

Success Boolean true

禁用工作流是否成功。取值如下:

  • true:禁用工作流成功。
  • false:禁用工作流失败。

示例

请求示例

http(s)://[Endpoint]/?Action=DisableWorkflow
&Namespace=adcfc35d-e2fe-4fe9-bbaa-20e90ffc****
&WorkflowId=111
&<公共请求参数>

正常返回示例

XML 格式

<DisableWorkflowResponse>
  <RequestId>4F68ABED-AC31-4412-9297-D9A8F0401108</RequestId>
  <Message>Your request is denied as lack of ssl protect.</Message>
  <Code>200</Code>
  <Success>true</Success>
</DisableWorkflowResponse>

JSON 格式

{
    "RequestId": "4F68ABED-AC31-4412-9297-D9A8F0401108",
    "Message": "Your request is denied as lack of ssl protect.",
    "Code": 200,
    "Success": true
}