描述
添加工作流实例。
请求
URL
https://api.dadayun.cn/v1/workflow/templates/$id/instances/$instanceId
HTTP请求方式
DELETE
HTTP请求参数
名称 | 是否必需 | 类型 | 描述 |
---|---|---|---|
id | 是 | String | 工作流模板Id |
instanceId | 是 | String | 工作流实例Id |
响应
- 无返回参数
示例
请求示例
HTTP/1.1
DELETE /v1/workflow/templates/55e91105-110e-44a2-b99d-37892cb5e7d6/instances/7d6b79d0-71bf-4043-8cbf-fac0cadf8e44
Host: api.dadayun.cn
Date: Thu, 30 Aug 2018 02:55:22 GMT
正常返回示例
HTTP/1.1 204 OK
Date: Thu, 30 Aug 2018 02:55:22 GMT
Content-Type: application/json; charset=utf-8
异常返回示例
HTTP/1.1 500 Internal Server Error
Date: Thu, 30 Aug 2018 02:55:22 GMT
Content-Type: application/json; charset=utf-8
{
"Code": "InternalError",
"Message": "未知错误"
}