MegaAPI icon

MegaAPI

Interact with MegaAPI WhatsApp service

Instance → Logout

AI-generated

Overview

This node operation logs out from a WhatsApp instance using the MegaAPI WhatsApp service. It is useful when you want to terminate the session of a WhatsApp instance programmatically, for example, to ensure security or to reset the connection.

Use Case Examples

  1. Logging out from a WhatsApp instance after completing automated messaging tasks.
  2. Terminating a WhatsApp session remotely to prevent unauthorized access.

Properties

Name Meaning
Informações Displays a warning notice related to the logout operation.

Output

JSON

  • status - The status or result of the logout operation from the WhatsApp instance.

Dependencies

  • Requires MegaAPI WhatsApp service credentials including an API token or key.

Troubleshooting

  • Common issues include invalid or expired API tokens causing authentication failures.
  • Errors may occur if the WhatsApp instance is already logged out or unreachable.
  • Ensure the correct resource ('Instance') and operation ('Logout') are selected to avoid unknown operation errors.

Discussion