All Products
Search
Document Center

ApsaraDB for OceanBase (Deprecated):BatchKillSessionList

Last Updated:Aug 28, 2026

You can call this operation to close sessions between the ApsaraDB for OceanBase and the application in batches. Please note that this operation is executed asynchronously. After calling this operation, you need to verify it by calling DescribeSessionList.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the OceanBase cluster.

ob317v4uif****

TenantId

string

Yes

The ID of the tenant.

t4louaeei****

SessionList

string

Yes

The list of sessions, which is concatenated with commas.

Note

The session information is obtained from the result returned by the DescribeSessionList API.

342,354,343

Response elements

Element

Type

Description

Example

object

The return result of the request.

RequestId

string

The ID of the request.

EE205C00-30E4-****-****-87E3A8A2AA0C

Examples

Success response

JSON format

{
  "RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.