Logging out
From DreamFactory
For these examples assume your current session token is abc.123.efg.
Logging out as an Admin
The Admin logout API endpoint is api/v2/system/admin/session. You pass your current session token.
Request URL:
DELETE https://foo.com/api/v2/system/admin/session?session_token=abc.123.efg
Note: Session token can also be supplied using X-DreamFactory-Session-Token request header.
Logging out as a User (non-admin)
The non-admin logout API endpoint is api/v2/user/session
Request URL:
DELETE https://foo.com/api/v2/user/session?session_token=abc.123.efg
Note: Session token can also be supplied using X-DreamFactory-Session-Token request header.