# 撤销(或完成)指定电子流 -------------------------------------------------------- 当某个电子流发生撤销或者整个电子流所有环节都完成后,调用此接口。 ## 请求格式说明 ** 调试工具:** 在线调试

请求方式: DELETE(HTTPS)

认证方式: access_token,请参考获取access_token

请求地址: https://open.welink.huaweicloud.com/api/todo/v1/deltask

请求头部:

x-wlk-Authorization:access_token

请求参数说明:

参数 参数类型 说明 是否必填
taskId string 租户应用任务id

请求示例:


curl –X DELETE 
'https://open.welink.huaweicloud.com/api/todo/v1/deltask?taskId=5' 
-H 'x-wlk-Authorization: access_token'

响应格式说明

正常返回结果:

{
    "code": "0",
    "message": "Delete todo task successfully.",
    "data": true
}

异常返回结果:

{
    "code": "55002",
    "message": "You haven't the permission to request this operation.",
    "data": "You haven't the permission to request this operation."
}

错误码说明:

错误码 说明
0 成功
55009 Delete todo task failed.
55002 You haven't the permission to request this operation
55006 Request parameters validate failed.
55005 the client missing required parameters.
55000 authorazation failed.
55004 server exception.
55011 非法更新电子流
55012 认证服务异常
55014 token认证失败

结果。 ""

    无结果。 ""