Deletes an index.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
DELETE /openapi/ha3/instances/{instanceId}/indexes/{indexName}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | ha-cn-2r42p5oi202 |
indexName | string | Yes | The index name. | generation |
dataSource | string | Yes | The data source. | ha-cn-pl32rf0js04_test |
deleteDataSource | boolean | No | Specifies whether to delete the data source. | true |
Response parameters
Sample responses
Success responses
{
"requestId": "65911539-5a8b-4bce-96a5-4d608900dc46",
"result": []
}
For more information, see Response struct.
Examples
Sample success responses
JSON
format
{
"requestId": "022F36C7-9FB4-5D67-BEBC-3D14B0984463",
"result": {}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-07-20 | The request parameters of the API has changed | View Change Details |
2022-01-12 | Add Operation | View Change Details |