---
title: "Update Cluster For User Code"
method: POST
path: "/router/v1/oauth2.0/device/cluster_info/"
tags: ["device_authorization"]
---

# Update Cluster For User Code

`POST /router/v1/oauth2.0/device/cluster_info/`

## Headers

- `x-cluster-key` string

## Request body

- DeviceGrantUpdateRequest
  - `user_code` string, required
  - `status` 'PENDING' | 'AUTHORIZED' | 'DENIED', required
  - `cluster_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/spotdraft/apis/oogway-be-router.md) · [All operations](https://skmtc.net/spotdraft/apis/oogway-be-router/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotdraft/oogway-be-router/revisions/dbd62d7b8bca/schema)
