Skip to content

Logout#

Given an authenticated session ID, logout the session

Route

/basic/gstn/{flynn-version}/taxpayerapi/{gstn-api-version}/authenticate

  • active ‘flynn-version’: v3.0
  • method: POST

URL Parameters#

Name Description Type
flynn-version version of the API
for example, v3.0
string
gstn-api-version GSTN API version
for example, v0.2
string

Headers#

All headers are mentioned in common GSTN headers

Apart from the common GSTN headers for Version-3 need to pass action in header

header value
action LOGOUT

Request#

Body consists of the following payload and has authenticated session ID

Sample Request Body

{
 "gst-session-id": "5ec6bafa-6ad2-4641-82ec-80511b45e30b"
}

Response#

200:#

Http Status 200 signifies that GSTN session has been logged out.