---
title: "Refuse a device code: the agent polling for it gets access_denied"
method: POST
path: "/v1/connect/device/deny"
tags: ["account"]
---

# Refuse a device code: the agent polling for it gets access_denied

`POST /v1/connect/device/deny`

## Request

- Base URL: `https://api.briq.cloud`
- URL: `https://api.briq.cloud/v1/connect/device/deny`
- Auth: none declared

## Request body

- object
  - `userCode` string, required

## Response `200`

ok

- object
  - `ok` boolean, required

## Other responses

- `400`: validation
- `401`: unauthorized
- `403`: forbidden
- `404`: not found

---

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