---
title: "Logout an instance"
method: POST
path: "/instance/{id}/logout"
tags: ["Instance"]
---

# Logout an instance

`POST /instance/{id}/logout`

Disconnects the WhatsApp session for the given instance without deleting it

## Path parameters

- `id` string, required

## Response `200`

OK

- DtoDeleteInstanceResponse
  - `message` string

## Other responses

- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/verbeux-ai/apis/whatsmiau-api.md) · [All operations](https://skmtc.net/verbeux-ai/apis/whatsmiau-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verbeux-ai/whatsmiau-api/versions/5af3cb49985a/schema)
