OpenapiDevice
Device_token
POST
realmId*stringRealm ID
application/x-www-form-urlencoded- body
device_code*stringgrant_type*stringAccess token issued
application/json- response
access_token*stringexpires_in*integerFormat
int64Range
0 <= valuerefresh_token*stringRefresh token of the issued browser-token family (present so CLI consumers can rotate; the access token alone cannot be refreshed).
token_type*stringcurl -X POST 'https://example.com/api/device/string/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'device_code=string&grant_type=string'Example Response
{
"access_token": "string",
"expires_in": 0,
"refresh_token": "string",
"token_type": "string"
}