All Products
Search
Document Center

OpenSearch:DeleteInstance

Last Updated:Jul 16, 2024

Deletes a specified instance.

Operation description

Method

DELETE

URI

/openapi/ha3/instances/{instanceId}

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 syntax

DELETE /openapi/ha3/instances/{instanceId}

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

ha-cn-7pp2m0ozr01

Sample requests

Change the instance name

DELETE /openapi/ha3/instances/ha3-cn-xxxxxx

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

requestIdstring

The ID of the request

E45380E8-994A-5402-9806-F114B3295FCF
resultobject

The result returned

{}

Sample responses

Sample success responses

{
  "result": {  },
  "requestId": "90D6B8F5-FE97-4509-9AAB-367836C51818"
}

Sample error responses


{
  "requestId": "BD1EA715-DF6F-06C2-004C-C1FA0D3A9820",
  "httpCode": 404,
  "code": "App.NotFound",
  "message": "App not found"
}

For more information, see Response structure.

Examples

Sample success responses

JSONformat

{
  "requestId": "E45380E8-994A-5402-9806-F114B3295FCF",
  "result": {}
}

Error codes

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

Change history

Change timeSummary of changesOperation
2022-01-12Add OperationView Change Details