Visibility Sets

Visibility Sets control who can see which resources. Assets and Users have Visibility Sets. Users can only create or modify Assets with at least one matching Visibility Set. The default set of a fresh Account is “Visibility Set1” but this can be changed to another set. Inversely, a User can have multiple Visibility Sets, granting visibility to all Assets that include any of those sets.

Fields

Tag Data Type Required Description
accountId Long Auto The id of the Account that owns this record.
id Auto-incremented Long Auto Unique Identifier 
isDefault Boolean No Indicates if it is the designated Default Set
lastChangedDate Text Auto Auto-generated timestamp of the last change made to this record
Note:
Format is in timestamp and timezone (YYYY-MM-DDTHH:MM:SS.sssZ, e.g: 1970-01-01T00:00:00.000Z)
name Character Yes Name of the Visibility Set 

Create

Read

Update

Delete

API error calls

ERROR MESSAGE POSSIBLE CAUSES
Access Denied. POST, PUT and DELETE methods require user role of ACCOUNTADMIN or higher
A visibility set with the given ID was not found. PUT error because Visibility Set id does not exist.
A visibility set cannot be deleted when it has assets assigned to it. DELETE error because Visibility Set to be deleted has Assets assigned to it.