Skip to main content
POST
Approve or deny a CLI device login

Autorisations

authjs.session-token
string
cookie
requis

Dashboard browser session.

Corps

application/json
userCode
string
requis

Code shown by the CLI, e.g. BCDF-GHJK.

approve
boolean

false to deny. Defaults to true.

organizationId
string<uuid>

Restrict the issued token to one organization; omit for all.

Réponse

status (approved or denied) and clientName.

The response is of type object.