Exclusions

Updates a consent record for an account

PUT
/loc/v1/devicelocations/action/consents

Update the location services consent record for an entire 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

Request Body

application/json

Account details to update a consent record.

Account details to update a consent record.

accountName?string

The numeric name of the account, including leading zeros.

allDeviceConsent?integer

The consent setting to use for all the devices in the account.

Formatint32

Response Body

application/json

application/json

curl -X PUT "https://example.com/loc/v1/devicelocations/action/consents" \  -H "Content-Type: application/json" \  -d '{}'
{  "transactionId": "2c90bd28-eeee-ffff-gggg-7e3bd4fbff33",  "status": "QUEUED"}