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

# Device Approve

`POST /auth/device/approve`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/auth/device/approve`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## Request body

- DeviceApproveRequest
  - `user_code` string, required
  - `approve` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
