Close a Teradata Query Service Session | Teradata Query Service - Closing Sessions - Teradata Query Service

Teradata® Query Service Installation, Configuration, and Usage Guide for Customers - 4.01.03.01, 4.01.07.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Query Service
Release Number
4.01.03.01, 4.01.07.00
Published
September 2023
Language
English (United States)
Last Update
2024-02-16
dita:mapPath
qla1666844235399.ditamap
dita:ditavalPath
ft:empty
dita:id
enn1467244092237
Product Category
Analytical Ecosystem
You can first get the details of all the sessions in a system and then delete a particular session.
curl -k -X GET 'https://<QS_HOSTNAME>:1443/systems/<systemName>/sessions' --header 'Authorization: Basic <DB_TOKEN>'

curl -k -X DELETE 'https://<QS_HOSTNAME>:1443/systems/<systemName>/sessions/<sessionId>' \
--header 'Authorization: Basic <DB_TOKEN>'