Description
Deletes the association between an OBProxy cluster and an OceanBase cluster.
API call instructions
API constraints
The caller needs to be authenticated through OCP.
Request path
DELETE /api/v2/obproxy/clusters/{id}/obLinks/{obClusterName}
Request parameters
path:
Parameter |
Type |
Required |
Example Value |
Description |
|---|---|---|---|---|
| id | Long | Yes | 1 | The ID of the OBProxy cluster. |
| obClusterName | String | Yes | obcluster | The name of the OceanBase cluster. |
Response
Basic data structure
Parameter |
Type |
Description |
|---|---|---|
| successful | Boolean | Indicates whether the request is successful. |
| timestamp | Datetime | The timestamp when the server finishes processing the request. |
| duration | Integer | The time taken by the server to process the request, in milliseconds. |
| status | Integer | The HTTP status code that conforms to the HTTP Status specification. |
| traceId | String | The Trace ID of the request, which is used to troubleshoot issues. |
| server | String | The address of the application service that responds to the request. |
Examples
Request example
DELETE /api/v2/obproxy/clusters/1/obLinks/obcluster
Response example
{
"duration": 121,
"server": "a83ad33525",
"status": 200,
"successful": true,
"timestamp": "2021-09-03T16:48:32.957+08:00",
"traceId": "87dbc0dd2459490c"
}
