---
title: "Use local session"
method: POST
path: "/local/sessions/use"
tags: ["local"]
---

# Use local session

`POST /local/sessions/use`

## Request

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

Select a local CLI session.

## 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)
