Exclusions
Update account consent exclusion
This consents endpoint sets a new exclusion list.
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
*/*
Request to update account consent exclusion list.
Request to update account consent exclusion list.
accountName*string
Account identifier in "##########-#####".
allDevice?boolean
Exclude all devices or not.
type?string
The change to make: append or replace.
exclusion?array<string>
Device ID list.
Response Body
application/json
application/json
curl -X POST "https://example.com/loc/v1/consents" \ -H "Content-Type: */*" \ -d '<accountName>1234567890-00001</accountName> <type>replace</type> <allDevice>false</allDevice> <exclusion>980003420535573</exclusion> <exclusion>375535024300089</exclusion> <exclusion>A100003861E585</exclusion>'{ "success": true}
