Killing Sessions of an Instance Node
Description
This API is used to kill sessions of an instance node.
Restrictions
- Community Edition 3.4 and 4.0 instances are supported.
- Inactive sessions cannot be terminated.
URI
Name |
Type |
IN |
Mandatory |
Description |
---|---|---|---|---|
x-auth-token |
string |
header |
Yes |
User token |
project_id |
string |
path |
Yes |
The project ID of a tenant in a region. To obtain the project ID, see Obtaining a Project ID. |
node_id |
string |
path |
Yes |
The 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.
- Request example
{ "sessions" : [ "34631", "34703" ] }
Responses
{}
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.