UserTokenSchema

object
kindstringOptional
The kind of record.
metadataobjectUserTokenMetadataSchemaRequired
Token metadata.
Show 3 propertiesHide 3 properties
JWTstringOptional
Generated token. We do not store this token, so you will not be able to see it again. Please copy it and keep it securely.
idstringRequiredformat: uuid
ID of token.
typeenumRequired
Token type.
Allowed values:loginfull-accessrestrictedephemeral
specobjectUserTokenSpecSchemaRequired
Token spec.
Show 9 propertiesHide 9 properties
descriptionstringOptional0-128 characters
Description of the token. Max 128 characters.
expiresstringRequiredformat: date-time
Date token expires.
issuedstringRequiredformat: date-time
Date token was issued.
lastUsedstring or nullRequiredformat: date
Date token was last used on the MK.IO api.
organizationIdstring or nullOptionalformat: uuid
ID of the organization that this token allows access to.
permissionsmap from strings to anyOptional
The RBAC capabilities assigned to the token when type is 'restricted'
Show value schemaHide value schema
[any key]any
revokedstring or nullRequiredformat: date-time
Date token was revoked, or null if not revoked.
revokedBystringOptional
Email of user who revoked this token.
userstringRequired
Email of user the token was issued for.