Logout a device from WhatsApp and remove its session data. This will disconnect the device from WhatsApp servers and clear all authentication credentials.
Always logout a device before removing it from the system using the DELETE /devices/ endpoint. This ensures proper cleanup on both the API server and WhatsApp servers.
If you only want to temporarily disconnect a device without logging out, consider using the reconnect functionality instead. Logout is permanent and requires re-authentication.