---
title: "Cli Auth Select Org"
method: POST
path: "/v1/cli/auth/select-org"
tags: ["v1-cli"]
---

# Cli Auth Select Org

`POST /v1/cli/auth/select-org`

Complete CLI auth with a selected org (for multi-org users).

Called after cli_auth_complete returns needs_org_selection.

Body:
    session_id: The CLI auth session ID
    org_id: The selected organization ID

Returns:
    status: "completed"

## Request body

- CLIAuthSelectOrgRequest
  - `session_id` string, required
  - `org_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/tryardent/apis/fastapi.md) · [All operations](https://skmtc.net/tryardent/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryardent/fastapi/revisions/71b66f68e19c/schema)
