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

# Device Approve

`POST /auth/device-approve`

Approve a device code from the dashboard. Generates a daemon JWT.

## Request body

- DeviceApproveRequest
  - `device_code` string, required
  - `user_key` string, nullable
  - `as_admin` boolean
  - `admin_email` string, nullable

## Response `200`

Successful Response

- DeviceApproveResponse
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.net/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/revisions/5721acd588e6/schema)
