Storm docs logo
Search the docs.../
Explore Storm Products

Logout

Endpoint used for terminating the user's session and invalidating the current access token. After logout, the token can no longer be used for authentication.

Request

PropertyValue
MethodPOST
URL/api/auth/logout
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X POST "{BASE_URL}/api/auth/logout" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Response Body

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
messagestringMain response status message
Successful Response (200)
Code iconjson
{
  "meta": {
    "executionTime": 0,
    "generatedAt": 1763638702144
  },
  "message": "You have been logged out"
}

Error Response (4xx/5xx)

ParameterTypeDescription
messagestringHuman-readable error message
timestampintegerError timestamp (Unix timestamp in ms)
Code iconjson
{
  "message": "Could not authorize with given access token",
  "timestamp": 1763638715202
}

Notes

  • After logout, the access token is invalidated and cannot be reused.
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.