Exclusions
Retrieve the consent record for devices on an account
Get the consent settings for the entire account or device list in an account.
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Query Parameters
accountName*string
The numeric name of the account.
deviceId?string
The IMEI of the device being queried
Response Body
application/json
application/json
curl -X GET "https://example.com/loc/v1/devicelocations/action/consents?accountName=0000123456-00001"{ "deviceList": [ null ], "accountName": "0000123456-00001", "allDeviceConsent": 1}
