---
title: "Remove local sessions"
method: POST
path: "/local/logout"
tags: ["local"]
---

# Remove local sessions

`POST /local/logout`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/local/logout`
- Auth: none declared

Sign out: end CLI sessions on the server and remove them locally.

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `409`: Local-only CLI operation. The server cannot mutate the caller's local CLI config.
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
