---
title: "Logout from WhatsApp"
method: POST
path: "/{instanceId}/logout"
tags: ["WhatsApp Logout"]
---

# Logout from WhatsApp

`POST /{instanceId}/logout`

Logs out from the specified WhatsApp instance.

## Path parameters

- `instanceId` string, required

## Response `200`

Logout successful

- object

## Changes

- **2023-09-06** `0c14bac74333` — 1 info
  - endpoint added
- **2023-09-04** `d472ce704604` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/capsulbrasil/apis/zapmeow-api/changes/:instanceId/logout/post.md)

---

[API](https://skmtc.dev/capsulbrasil/apis/zapmeow-api.md) · [All operations](https://skmtc.dev/capsulbrasil/apis/zapmeow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/capsulbrasil/zapmeow-api/revisions/e5096929ea38/schema)
