ViewPermissionsToken is a datatype for a view permissions token. The token allows the caller to work with the same set of view-level permissions across multiple views.

This datatype implements the interface datatype, Token and it's used by the CreateViewPermissionsTokenV2Output datatype, which is used by the createViewPermissionsTokenV2() mutation field.

Table: ViewPermissionsToken

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
createdAtlongyes Long-Term The date the token was created.
expireAtlong  Long-Term The time at which the token expires.
idstringyes Long-Term The unique identifier of the token.
ipFilterstring  Long-Term The IP filter on the token.
ipFilterV2IPFilter  Long-Term The IP filter on the token. See IPFilter.
namestringyes Long-Term The name of the token.
permissions[string]yes Long-Term The set of permissions on the token.
searchAssetPermissions(searchFilter: string, skip: integer, limit: integer, orderBy: OrderBy, sortBy: SortBy, assetTypes: [AssetPermissionsAssetType], searchDomainIds: [string], permissions: [AssetAction]): AssetPermissionSearchResultSetmultipleyes Short-Term The permissions assigned to the token for individual view assets. See AssetPermissionsAssetType, AssetAction , and AssetPermissionSearchResultSet.
views[SearchDomain]yes Long-Term The set of views on the token — only those that user has access. See SearchDomain.