Query and delete Sessions in Zendesk.
Table Specific Information
SelectThe following queries are processed server side while other filters are processed client side within the driver.
SELECT * FROM Sessions SELECT * FROM Sessions WHERE Userid = '123'
You can turn off the client-side execution of the query by setting SupportEnhancedSQL to false in which case any other search criteria will be ignored and an unfiltered response will be returned.
You must specify the UserId and Id of the session to delete it. Allowed for admins, agents, end users.
DELETE FROM Sessions WHERE Userid = '123' AND Id = '456'
Automatically assigned when the session is created.
The id of the user.
When the session was created.
The last approximate time this session was seen. This does not update on every request.
The API URL of this session.