Errors

session_not_found

404: No such session.

No such session. Answered with 404.

What it means

The signed-in Member has no live session with this id: it has ended or expired already, it never existed, or it is somebody else's. The three read the same, so the answer says nothing about sessions that are not the caller's.

What to do

List your sessions with GET /api/auth/sessions and end one of those.

The body

{
  "type": "https://tigby.eu/problems/session_not_found",
  "title": "No such session",
  "status": 404,
  "detail": "…what was refused, naming this request's own values",
  "code": "session_not_found",
  "doc_url": "https://docs.tigby.eu/errors/session_not_found",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.