---
title: "Configure CLI backend"
method: POST
path: "/local/backend"
tags: ["local"]
---

# Configure CLI backend

`POST /local/backend`

## Request

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

Configure the CLI backend target.

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `409`: Local-only CLI operation. Backend selection is local CLI state.
- `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)
