Grant Device Authorization

Grant Device Authorization

Grants access to service account identified by the specified user code. Subsequent polling by the device will result in access token to be transmitted as per device code flow specification

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/deviceLookup/grant
COPY
Request Body
DeviceInfo of type(s) application/json
Optional
{
    "userCode": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
204

Device has been granted authorization to access the system

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/deviceLookup/grant