---
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`

## Request

- Base URL: `https://api.tryardent.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tryardent.com/v1/cli/auth/select-org`
- Auth: none declared

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.dev/tryardent/apis/tryardent-api.md) - [All operations](https://skmtc.dev/tryardent/apis/tryardent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tryardent/apis/tryardent-api/revisions/a0512915b997?raw)
