Deletes one or more availability monitoring jobs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteHostAvailability |
delete |
*HostAvailability
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
array |
Yes |
The IDs of the tasks. |
12456 |
|
integer |
No |
The ID of the task. |
12456 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. Note
A status code of 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. |
The specified resource is not found. |
| RequestId |
string |
The request ID. |
57C782E6-B235-4842-AD2B-DB94961761EB |
| Success |
boolean |
Indicates whether the operation was successful. `true`: The operation was successful. `false`: The operation failed. |
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "The specified resource is not found.",
"RequestId": "57C782E6-B235-4842-AD2B-DB94961761EB",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.