All Products
Search
Document Center

Smart Access Gateway:DeleteHealthCheck

Last Updated:Mar 03, 2024

You can call this operation to delete a health check instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region where the health check instance is deployed.

cn-shanghai
HcInstanceIdstringYes

The ID of the health check instance.

hc-vfgyz7dv07lthr****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

7F0B079C-2D0E-4ABF-A970-C079F785A09C

Examples

Sample success responses

JSONformat

{
  "RequestId": "7F0B079C-2D0E-4ABF-A970-C079F785A09C"
}

Error codes

HTTP status codeError codeError messageDescription
400HC.InstanceNoFoundThe specified network health check instance does not exist.The specified network health check instance does not exist.
400HC.RelatedRouteThe specified health check instance has associated routes and cannot be deleted.The specified health check instance has associated routes and cannot be deleted.

For a list of error codes, visit the Service error codes.