---
title: "Device Approve"
method: POST
path: "/v1/auth/device/approve"
tags: ["auth"]
---

# Device Approve

`POST /v1/auth/device/approve`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/auth/device/approve`
- Auth: none declared

ACCOUNT-JWT. Called by the dashboard /activate page: the signed-in user
approves the pending CLI login, binding it to their account (+ optional org).

## Request body

- DeviceApproveIn
  - `user_code` string, required
  - `org_uuid` string, nullable

## Response `200`

Successful Response

- DeviceApproveOut
  - `status` string
  - `user_code` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
