Skip to content
OpenPostDocs
OpenPostDocs
Auth

Approve CLI device authorization

POST/cli/auth/approve

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/cli/auth/approve" \  -H "Content-Type: application/json" \  -d '{}'
{  "$schema": "https://example.com/api/v1/schemas/CLIAuthDecisionOutputBody.json",  "ok": true}