Skip to main content
POST
/
v1
/
users
/
me
/
sessions
/
{token_suffix}
/
destroy
curl -X POST https://portal-api.7331.org/v1/users/me/sessions/xyz789/destroy \
  -b "psession=YOUR_SESSION"
{
  "destroyed": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.7331.org/llms.txt

Use this file to discover all available pages before exploring further.

Requires an active session cookie. Destroys a specific session identified by the last 6 characters of its token. Returns 400 if attempting to destroy the current session, and 404 if the suffix does not match any active session.
token_suffix
string
required
Last 6 characters of the session token to destroy.

Response

destroyed
boolean
required
true if the session was successfully destroyed.
curl -X POST https://portal-api.7331.org/v1/users/me/sessions/xyz789/destroy \
  -b "psession=YOUR_SESSION"
{
  "destroyed": true
}