CreateTokenSchema – Management API – MediaKind
CreateTokenSchema
Properties
description
Type: string
Optional
Max length: 128 characters
Description: Description of the token.
expireDate
Type: string
Optional
Format: date-time
Description: Token expiration date. Maximum one year after creation.
organizationId
Type: string
Required
Format: uuid
Description: ID of the organization that this token allows access to.
permissions
Type: map from strings to any
Optional
Description: Token permissions. Only needed if the type is one of ('restricted', 'ephemeral').
type
Type: enum
Required
Description: Type of token.
Allowed values: login, full-access, restricted, ephemeral.