Authentication

Logout / Delete session

Changed on

Terminates the specified session. Use "self" to logout current session.

delete/sessions/{sid}

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/sessions/{sid}
  • Auth
    • HTTP basic
    • or API key in cookie session_handle
    • or API key in header Session-Id

Path parameters

sidstring required

Session ID to logout, or "self" for current session

Response

Session terminated successfully

object required

Changes

    • info

      api operation id logout removed and replaced with deleteSession

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      api operation id logout was added

    • info

      added the non-success response with the status