Update the location services consent record for an entire account.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Account details to update a consent record.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X PUT "https://example.com/devicelocations/action/consents" \ -H "Content-Type: application/json" \ -d '{}'{ "transactionId": "2c90bd28-eeee-ffff-gggg-7e3bd4fbff33", "status": "QUEUED"}{ "errorCode": "The type of error, such as INVALID_REQUEST.", "errorMessage": "Additional error information."}The numeric name of the account, including leading zeros.
The consent setting to use for all the devices in the account.