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

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 every session belonging to the authenticated user except the one making the request.

Response

destroyed
integer
required
Number of sessions destroyed.
curl -X POST https://portal-api.7331.org/v1/users/me/sessions/destroy \
  -b "psession=YOUR_SESSION"
{
  "destroyed": 3
}