# DeviceCodeRequest

> The DeviceCodeRequest object in the Guv API.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `client_id` * | string |  |
| `scope` | string | Space-separated scopes. Defaults to the user's full role. |
| `device_name` | string |  |

\* always present

## Example

```json
{
  "client_id": "guv-cli",
  "scope": "string",
  "device_name": "stewart-mbp"
}
```

## Used by

- [Start the CLI device flow (RFC 8628)](/docs/api/auth/#start-the-cli-device-flow-rfc-8628)
