---
title: "Logout Instance"
method: DELETE
path: "/instance/logout/{instance}"
tags: ["Instance Controller"]
---

# Logout Instance

`DELETE /instance/logout/{instance}`

## Request

- Base URL: `https://evolution-example`
- URL: `https://evolution-example/instance/logout/{instance}`
- Auth: API key in header `apikey`

Makes logout on instance

## Path parameters

- `instance` string, required

## Response `200`

Ok

- object
  - `status` string: The status of the response.
  - `error` boolean: Indicates whether an error occurred.
  - `response` object
    - `message` string: A message related to the response.

## Other responses

- `404`: Instance not found

## Changes

- **2024-11-25** (v2) `c153448703e5`: 5 info
  - api operation id `logoutInstance` was added
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - api tag `Instance Controller` added
  - api tag `Instance` removed
  - …1 more
- **2024-09-09** (v2) `0c4620ca5ed5`: 5 info
  - api operation id `logoutInstance` removed and replaced with ``
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - api tag `Instance` added
  - api tag `Instance Controller` removed
  - …1 more

[Operation history](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/changes/instance/logout/:instance/delete.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/evolution-api-3.md) - [All operations](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/evolution-foundation/apis/evolution-api-3/revisions/153363ee7f38?raw)
