This API is used to kill sessions of an instance node.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID of a tenant in a region. |
node_id |
Yes |
String |
Specifies the node ID. The following nodes can be queried: mongos nodes in the cluster, and all nodes in the replica set and single node instances. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
sessions |
Yes |
Array of strings |
Specifies the IDs of sessions to be terminated. For details, see the session ID returned in Table 4. |
POST https://dds.eu-de.otc.t-systems.com/v3/619d3e78f61b4be68bc5aa0b59edcf7b/nodes/520c58ba00a3497e97ce0b9604874dd6no02/session { "sessions" : [ "34631", "34703" ] }
POST https://dds.eu-de.otc.t-systems.com/v3/619d3e78f61b4be68bc5aa0b59edcf7b/nodes/520c58ba00a3497e97ce0b9604874dd6no02/session { "sessions" : [ "34631", "34703" ] }
{}
For more information, see Error Code.