creatorstring uuid nullable
UUID of the user that created this token. Not used for scoping
Unset once the creating user has been deleted
expiresAtstring date-time nullable
lastUsedAtstring date-time nullable
ownerOrgstring uuid nullable
UUID of the organization that owns this token
Only set for token_type = organization
ownerRepostring uuid nullable
UUID of the repository that owns this token.
Only set for token_type = [ci, deploy, runner?]
ownerUserstring uuid nullable
UUID of the user who owns this token
Only set for token_type = personal
permissionsTokenPermission[] required
revokedAtstring date-time nullable
scope'all' | 'public' | 'selected' required
tokenType'personal' | 'organization' | 'ci' | 'deploy' | 'runner' | 'instance' required
scopeOrgsstring[] required
UUIDs of the organizations this token is limited to
scopeReposstring[] required
UUIDs of the repositories this token is limited to