Disables one or more workflows.
Operation description
Disables one or more specified workflows.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The cluster ID. |
xxljob-b6ec1xxxx |
| AppName |
string |
Yes |
The application name. |
test-app |
| WorkflowIds |
array |
Yes |
A list of workflow IDs. |
|
|
integer |
No |
The workflow ID. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Code |
integer |
The response code. |
200 |
| Message |
string |
The response message. |
Parameter check error |
| RequestId |
string |
The unique request ID for troubleshooting. |
5EF879D0-3B43-5AD1-9BF7-52418F9C5E73 |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "Parameter check error",
"RequestId": "5EF879D0-3B43-5AD1-9BF7-52418F9C5E73",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Parameter error: %s. | Parameter error: %s |
| 401 | IllegalRequest | IllegalRequest: %s. | Illegal request:%s |
| 500 | InternalError | InternalError: %s. | System Internal Error: %s |
| 403 | NoPermission | No permission to perform this operation: %s. | No permission to perform this operation: %s |
| 404 | NotFound | Not found: %s. | The resource does not exist: %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.