You can call this operation to close sessions in batches. Please note that this operation is executed asynchronously. After calling this operation, you need to verify it by calling DescribeProcessStatsComposition.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| InstanceId | string | Yes | The ID of the OceanBase cluster. | ob317v4uif**** |
| SessionList | string | Yes | The list of sessions to close. | [{"ProxySessId":"752113700739156671","SessionId":3221555062,"ServerIp":"10.***.**.***"}] |
| TenantId | string | Yes | The ID of the tenant. | t33h8y08k**** |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
"Data": [
{
"Success": true
}
]
}Error codes
| HTTP status code | Error code | Error message |
|---|---|---|
| 2014 | InternalError | The request processing has failed due to some unknown error. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-04-22 | The Error code has changed. The request parameters of the API has changed | View Change Details |
