Disconnect

Request Example

{
    "action": "Disconnect",
    "token": "your_generated_token"
}

Fields:

  • action (string): Specifies the API action to execute. For this action, use "Disconnect".

  • token (string): A valid authentication token obtained during the session.


Response Example

{
    "message": "Disconnected",
    "route": "Disconnect",
    "status": "success"
}

Fields:

  • message (string): Confirms the disconnection of the session.

  • route (string): Indicates the API route or action associated with the response. Matches the request's "action" field.

  • status (string): Describes the result of the request. Possible values include:

    • "success": The disconnection was processed successfully.

    • "error": The disconnection failed. Additional error details may be provided.

Last updated