Api doc


SDK's


Api Modules

staff.logout



Supported Methods:

GET
Params
  • token (Required): valid token


Documentation

GET
Logs out current user. Terminates valid token.
Level 5 is required (all users can fetch this module)

--

Parameters:

  1. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"staff.logout",
  3. "method":"GET",
  4. "request":{
  5.  
  6. }
  7. }

Example Response:

  1. {
  2. "status":1,
  3. "data":{
  4.  
  5. },
  6. "token":""
  7. }