1. Auth
  2. Exchange Device Auth Token
POST
/cli/v1/auth/device/token
curl --request POST \
     --url https://docsalot.dev/api/cli/v1/auth/device/token \
     --header 'Authorization: Bearer <token>' \
     --header 'Content-Type: application/json' \
     --data '{
  "device_code": "string"
}'

​
Body

application/json
device_code
required
string

​
Response

application/json
  • 200

  • 400

Pending or authorized device flow response