You can call this operation to delete one or more availability monitoring tasks.

Debugging

You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can call APIs, dynamically generate SDK example code, and retrieve APIs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteHostAvailability

The operation that you want to perform. Set the value to DeleteHostAvailability.

Id.N RepeatList Yes 12345

The ID of the task. Valid values of N: 1 to 20.

Response parameters

Parameter Type Example Description
Code String 200

The status code. A value of 200 indicates that the call is successful.

Message String success

The error message.

RequestId String 57C782E6-B235-4842-AD2B-DB94961761EB

The request ID for troubleshooting.

Success Boolean true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DeleteHostAvailability
&Id. 1=12345
&<Common request parameters>

Successful response examples

XML format

<DeleteHostAvailabilityResponse>
  <RequestId>57C782E6-B235-4842-AD2B-DB94961761EB</RequestId>
  <Success>true</Success> 
  <Code>200</Code>
</DeleteHostAvailabilityResponse>

JSON format

{
	"RequestId":"57C782E6-B235-4842-AD2B-DB94961761EB",
	"Success":true,
	"Code":200
}

Error codes

View error codes