Deleting a Workflow
Functions
Marks a deleted workflow.
Request Syntax
DELETE /v2/workflows/{graph_name} HTTP/1.1
Host: obs.cn-north-4.myhuaweicloud.com
Authorization: authorization
Content-Type: application/json
Content-Length: length
Date: date
Request parameters
|
Parameter |
Mandatory |
Type |
Description |
Constraints |
|---|---|---|---|---|
|
graph_name |
Yes |
String |
Workflow name |
The name should start with a letter or digit, and contain a maximum of 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed. |
Request Headers
This request uses common headers. For details, see Table 3.
Request Elements
This request contains no message parameters.
Response Syntax
HTTP/1.1 status_code Date: date X-Request-ID: 6a63a18b8bab40ffb71ebd9cb80d0085
Response Headers
The response to the request uses common headers. For details, see Table 1.
Response Elements
This response involves no elements.
Error Responses
No special error responses are returned. For details about error responses, see Table 2.
Sample Request
DELETE /v2/workflows/{graph_name} HTTP/1.1
Host: obs.cn-north-4.myhuaweicloud.com
Date: Thu, 27 Aug 2020 12:38:10 GMT
Authorization: OBS H4IPJX0TQTHTHEBQQCEC:sc2PM13Wlfcoc/YZLK0MwsI2Zpo=
Content-Type: application/json
Content-Length: 0
Sample Response
HTTP/1.1 204 No Content Server: OBS Date: Thu, 27 Aug 2020 12:38:10 GMT X-Request-ID: 000001742FE8FB3CCA20173B00807C43
Last Article: Querying Workflow Details
Next Article: Updating a Workflow
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.