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

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

Product
Teradata Query Service
Release Number
4.01.03.01
Published
April 2022
Language
English (United States)
Last Update
2022-06-20
dita:mapPath
xnt1648539781334.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2700
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>'