Logging out

From DreamFactory
Jump to: navigation, search
      1. Tutorial

There are two APIs available for logging out of an authenticated session -

  • DELETE api/v2/system/admin/session
  • DELETE api/v2/user/session
      1. API Endpoints
DELETE https://your-url/api/v2/system/admin/session?session_token=<jwt_session_token_to_blacklist>

-- OR --

DELETE https://your-url/api/v2/user/session?session_token=<jwt_session_token_to_blacklist>


Note: Session token can also be supplied using X-DreamFactory-Session-Token request header.

      1. Example - Logging out
DELETE https://your-url/api/v2/system/admin/session?session_token=abc.123.efg

-- OR --

DELETE https://your-url/api/v2/user/session?session_token=abc.123.efg