---
title: "Cli Confirm"
method: POST
path: "/api/cli/confirm"
---

# Cli Confirm

`POST /api/cli/confirm`

Browser → server: 'I'm signed in, please link this user_code to me + org X'.

## Request body

- CLIConfirmRequest
  - `user_code` string, required
  - `org_id` string, nullable
  - `org_slug` string, nullable

## Response `200`

Successful Response

- CLIConfirmResponse
  - `ok` boolean, required
  - `user_code` string, required
  - `org` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/codag/apis/infra-logs-templater.md) · [All operations](https://skmtc.net/codag/apis/infra-logs-templater/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codag/infra-logs-templater/revisions/a2c84c9154da/schema)
