UserTokenSpecSchema – Management API – MediaKind
UserTokenSpecSchema
Object
Description
- description: string (Optional) 0-128 characters
- Description of the token. Max 128 characters.
Required Fields
expires: string (Required)
- Format: date-time
- Date token expires.
issued: string (Required)
- Format: date-time
- Date token was issued.
lastUsed: string or null (Required)
- Format: date
- Date token was last used on the MK.IO API.
Optional Fields
organizationId: string or null (Optional)
- Format: uuid
- ID of the organization that this token allows access to.
permissions: map from strings to any (Optional)
- The RBAC capabilities assigned to the token when type is 'restricted'.
Schema for Permissions
- [any key]: any
Required Revocation Fields
revoked: string or null (Required)
- Format: date-time
- Date token was revoked, or null if not revoked.
revokedBy: string (Optional)
- Email of user who revoked this token.
user: string (Required)
- Email of user the token was issued for.