Update current device data
Update the request's sender device data in the database
PUT
/v1/devices/AuthorizationBearer <token>
Please provide your device JWT token in the format 'Bearer '
In: header
name?string
Device name
osVersion?string
Operating system version
appVersion?string
Application version
appBuildNumber?string
Application build number
bundleId?string
Application bundle Id
Response Body
application/json
application/json
curl -X PUT "http://localhost:4004/v1/devices/" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"os": "ANDROID",
"osVersion": "string",
"appVersion": "string",
"appBuildNumber": "string",
"manufacturer": "string",
"model": "string",
"bundleId": "string",
"locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54",
"locationName": "string",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
"organizationName": "string",
"legacyId": 0,
"deviceType": "MAIN_POS",
"applicationName": "POPINA",
"lastSeenAt": "2019-08-24T14:15:22Z",
"lastLinkedAt": "2019-08-24T14:15:22Z"
}{
"error": "string"
}