-
Notifications
You must be signed in to change notification settings - Fork 8
Logout
michael.rybintsev edited this page Aug 8, 2019
·
7 revisions
The Logout API signs the user out on the device they were using.
Operation |
---|
Logout |
When logging out, the endpoint extracts the AccessToken from either the header or cookie which provides the UserId and ClientId. The information is then used to revoke the AccessGrant and the cookie is then expired.
The API will return a 200 if it successfully retrieves the AccessToken or if no AccessToken is sent. However, if a token is sent and it is malformed, the API will return a 401.
POST /logout
Accept: application/vnd.huddle.data+xml (or+json)
Authorization: OAuth2 frootymcnooty/vonbootycherooty
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+xml
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+json
NA
Case | Response |
---|---|
Invalid Token sent | 401 |
Non POST call | 405 |
- Basic concepts
-
Resources
- Actor
- Approvals
- BulkProcess
- Calendar
- Membership
- Company
- Document
- Document library settings
- Folder
- Paged Folder
- Pins
- Integrations
- Form
- Friends
- Invitation
- Link
- Document Lock
- Folder Lock
- Localisation
- MemberAutocomplete
- Notifications
- Offline item
- PeopleBulkProcess
- Permissions
- Presence
- PublishedDocuments
- Recents
- Recommendations
- Recycle Bin
- Search
- Share
- Tasks (Todos), File Requests, Approvals
- Tasks on Documents
- Actions
- UserApprovals
- User
- VersionHistory
- Workspace
- Workspaces
- SamlPartners
- Logout
- Impersonation
- Administration
- WebHooks