CreateViewPermissionsTokenV2Input is an input datatype for creating a view permissions token. It's used by the createViewPermissionsTokenV2() mutation field.

Table: CreateViewPermissionsTokenV2Input

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: May 6, 2025
assetPermissionAssignments[ViewPermissionsTokenAssetPermissionAssignmentInput]yes Long-TermThe asset permission assignments for the view token. See ViewPermissionsTokenAssetPermissionAssignmentInput.
expireAtlong  Long-TermThe date the token expires.
ipFilterIdstring  Long-TermThe unique identifier for the IP filter.
namestringyes Long-TermThe name of the permissions token.
viewIds[string]yes Long-TermThe unique identifiers for the views.
viewPermissions[Permission]yes Long-TermA list of permissions for the token. See Permission.