Logging out

From DreamFactory
Jump to: navigation, search
(Created page with "54 yr old Joiner Clemente Broe from Paris, enjoys to spend time people, astrology psychic and sleeping. Plans to retire and take the family to a lot of the great heritage lis...")
 
(Logging out as a User (non-admin))
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
54 yr old Joiner Clemente Broe from Paris, enjoys to spend time people, astrology psychic and sleeping. Plans to retire and take the family to a lot of the great  heritage listed destinations on the planet like Pyrénées - Mont Perdu.<br><br>Feel free to visit my site ... [https://modules.apache.org/profile.lua?uid=95466 modules.apache.org]
+
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
 +
 
 +
Request URL:
 +
 
 +
<pre>DELETE https://foo.com/api/v2/system/admin/session?session_token=abc.123.efg</pre>
 +
 
 +
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:
 +
 
 +
<pre>DELETE https://foo.com/api/v2/user/session?session_token=abc.123.efg</pre>
 +
 
 +
Note: Session token can also be supplied using X-DreamFactory-Session-Token request header.

Latest revision as of 20:39, 14 July 2016

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

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.