Killing Sessions of an Instance Node
Description
This API is used to kill sessions of an instance node.
Restrictions
- DB instances of Community Edition 3.4, 4.0, 4.2, 4.4, and 5.0 are supported.
- Inactive sessions cannot be terminated.
URI
Parameter |
Type |
IN |
Mandatory |
Description |
---|---|---|---|---|
X-Auth-Token |
string |
header |
Yes |
User token obtained from IAM. For details, see Authentication. |
project_id |
string |
path |
Yes |
Project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID. |
node_id |
string |
path |
Yes |
Node ID.
|
Requests
- Parameter description
Table 2 Request body parameters Parameter
Type
Mandatory
Description
sessions
Array of strings
Yes
The IDs of sessions to be terminated.
For details, see the session ID returned in Table 4.
Example Request
{ "sessions" : [ "34631", "34703" ] }
Responses
{}
SDK
Click Document Database Service DDS SDK to download the SDK or view the SDK document. To learn how to install and authenticate an SDK, read the Usage section.
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot