Exchange a device_code or refresh token for a CLI token pair
Exchange a device_code (RFC 8628) OR a refresh token for a fresh JWT access token + rotating refresh token pair. Used by the appstrate CLI.
curl -X POST "https://your-instance/api/auth/cli/token" \ -H "Content-Type: application/json" \ -d '{ "grant_type": "string", "client_id": "string" }'{
"access_token": "string",
"refresh_token": "string",
"token_type": "Bearer",
"expires_in": 0,
"refresh_expires_in": 0,
"scope": "string"
}{
"error": "string",
"error_description": "string"
}{
"error": "string",
"error_description": "string"
}