1. sessions
Autonomk
  • users
    • Get all users
      GET
    • Create User
      POST
    • Delete user
      DELETE
    • Get single user
      GET
    • Update User
      PUT
  • auth
    • Login
      POST
    • refresh token
      POST
    • Logout
      POST
  • chat
    • Chat
      POST
  • sessions
    • Get all logged in sessions
      GET
    • Delete logged in token
      DELETE
  • conversations
    • Get single conversation with chat messages
      GET
    • Get list of all conversations
      GET
    • Create Conversation History
      POST
    • Delete Conversation History
      DELETE
    • Update the conversation properties
      PATCH
    • insert chat into conversation
      PATCH
  • Untitled Endpoint
    POST
  1. sessions

Delete logged in token

Developing
Development
http://localhost:8080/api/v0
Development
http://localhost:8080/api/v0
DELETE
http://localhost:8080/api/v0
/sessions/{token}
Admin: Deleted logged in session

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢204No Content
application/json
Bodyapplication/json

🟠400Bad Request
🟠422Unprocessable Entity
🟠403Forbidden
🟠401Unathorized
🟠404Not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://localhost:8080/api/v0/sessions/' \
--header 'Authorization: Bearer <token>'
Response Response Example
204 - Example 1
{}
Modified at 2025-06-16 14:08:23
Previous
Get all logged in sessions
Next
Get single conversation with chat messages
Built with