The CreateSystemPermissionsTokenV2Output datatype is used to get a system permissions token and its associated metadata. It's used by the createSystemPermissionsTokenV2() mutation field.

Table: CreateSystemPermissionsTokenV2Output

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
tokenStringyes Long-Term The raw token string for use in Authorization: Bearer headers. Save this value immediately — LogScale does not expose the token string again after this call returns. To replace a lost token, delete it and create a new one.
tokenMetadataSystemPermissionsTokenyes Long-Term Metadata for the newly created token, including its unique identifier, display name, assigned permissions, creation timestamp, expiration time, and IP filter. See SystemPermissionsToken.