字段 | 类型 | 是否必填 | 示例 | 描述 |
Action | String | 是 | DeleteWorkflowTemplate | 公共参数,本接口取值:DeleteWorkflowTemplate |
WorkflowId | String | 是 | fewerqwdsj0123 | 任务流模板ID |
SpaceName | String | 否 | other_space1 | 应用空间 默认为:default_space |
返回公共参数
请求示例
curl -X POST 'https://vod.streamlakeapi.com/?Action=DeleteWorkflowTemplate' \
-H 'Content-Type: application/json' \
-d '{"WorkflowId": "xxx"}' \
-H <公共请求参数>
返回示例
HTTP/1.1 200 OK
Content-Type: application/json
{
"ResponseMeta": {
"RequestId":"CixgpmAFOYcAAAAAAAAAAw",
"ErrorCode":"",
"ErrorMessage":""
}
}
ErrorCode | ErrorMessage | 说明 | 状态码 |
ResourceNotFound | WorkflowTemplate does not exist | 任务流模板不存在 | 404 |
InvalidArgument | %s required arguments are missing | 必填参数为空 | 400 |