Skip to content
OpenPostDocs
OpenPostDocs
Auth

Poll CLI device authorization

POST/cli/auth/poll

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

curl -X POST "https://example.com/cli/auth/poll" \  -H "Content-Type: application/json" \  -d '{    "device_code": "string"  }'
{  "$schema": "https://example.com/api/v1/schemas/PollCLIAuthOutputBody.json",  "expires_in": 0,  "interval": 0,  "retry_after": 0,  "status": "string",  "token": "string"}