From Bright Pattern Documentation
Logout
This method removes the session on the server side.
Session Check also extends the life of the session by 15 minutes (full session inactivity timeout).
HTTP Method
GET
Request
session_logout (session_id)
Example
GET /session_logout?session_id=8439309F-4C70-44CF-9D92-FA0E56C97BD0 HTTP/1.1
Responses
A success response includes the "200 OK" with application/JSON body containing session_id.
An error response is returned with a 4xx HTTP response code and a JSON body containing detailed error information.
Code | Description | Example |
200 | OK |
HTTP/1.1 200 OK { “session_id”: “8439309F-4C70-44CF-9D92-FA0E56C97BD0”, "tenant_id":"4E3707BE-CD47-4627-A5D9-34EF70A0DE42", "user_id":"9E33BE47-47DF-40F7-B160-8B90E12FE6C5" } |
401 | not authenticated |
{ “error” : “not_logged_in” } |