device-controller
Get Device Credentials (getDeviceCredentialsByDeviceId)
If during device creation there wasn't specified any credentials, platform generates random 'ACCESS_TOKEN' credentials.
Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority.
get/api/device/{deviceId}/credentials
Path parameters
deviceIdstring required
A string value representing the device id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9"
},
"createdTime": 1609459200000,
"deviceId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"credentialsId": "Access token or other value that depends on the credentials type",
"credentialsValue": "Null in case of ACCESS_TOKEN. See model definition."
}