---
title: "Deny a CLI device login"
method: POST
path: "/v1/auth/device/deny"
tags: ["Authentication"]
---

# Deny a CLI device login

`POST /v1/auth/device/deny`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/auth/device/deny`
- Auth: HTTP bearer

## Request body

- DeviceApproveRequest
  - `user_code` string, required

## Response `200`

Device denied

---

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