# cliLoginRequest (/api/reference/queries/cli-login-request)

A CLI login waiting for approval, by the code in the link the tool opened. Null when no request has that code, which includes one that was used up.

```graphql
cliLoginRequest(
  code: String!
): CliLoginRequest
```

### Arguments [#arguments]

#### [`cliLoginRequest.code`](#code) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#code]
The code from the link.

### Type [#type]

#### [`CliLoginRequest`](/api/reference/objects/cli-login-request) `object` [#cliloginrequest-object]
A request from a command-line tool to be given a key, waiting for a signed-in person to approve it.