---
title: "Switch active Console org"
method: POST
path: "/experimental/console/switch"
---

# Switch active Console org

`POST /experimental/console/switch`

Persist a new active Console account/org selection for the current local OpenCode state.

## Query parameters

- `directory` string
- `workspace` string

## Request body

- object
  - `accountID` string, required
  - `orgID` string, required

## Response `200`

Switch success

- boolean

---

[API](https://skmtc.net/kaaass/apis/opencode.md) · [All operations](https://skmtc.net/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaaass/opencode/versions/8bb9a15bd144/schema)
