SDK reference / Models

Models.Account namespace

Types

TypeKindDescription
AccessTokenclassA token as the response to create shows it: with its credential, this once.
AccessTokenInfoclassA personal access token (proposed ADR "personal access tokens are expiring keys of a service account of their own"): one service account ofthe project named `pat-{you}-{token}`, bound to one role (viewer or editor) in the project's policy, with one API key that expires. It acts asitself, never as the person who made it.
AccessTokenListclassThe caller's own tokens in a project, newest first, never their credentials.
AccessTokenStateenumStates of a personal access token.
AccountDataExportclassA job that collects what the platform holds about the caller's account into one document.
AccountDataExportContentclassThe collected document of a READY export.
AccountDataExportContent_documentclassWhat the account holds: profile, organisations, passkeys (no keys), sessions, notices, preferences, invitations.
AccountDataExportListclass
AccountDeletionBlockerclassOne reason the account cannot be deleted yet.
AccountDeletionCheckclassWhether the account can be deleted now, and if not, why.
AccountPasskeyclassOne passkey of the caller. The public key and the credential's secret parts are never returned.
AccountPasskeyListclass
AccountSessionclassOne sign-in of the caller. The device and the network are display labels the console sends when the person signs in (a browser name,an operating system, a coarse network prefix); they are never a security input and a session is revoked by its id only.
AccountSessionListclass
ConfirmPhoneVerificationRequestclassThe number and the code the person received.
ConnectedAppclassAn app that holds a session for the caller (the CLI, a signed-in tool), grouped by its label.
ConnectedAppListclass
CreateAccessTokenRequestclassWhat a token is made with.
DataExportStateenumStates of a data export.
DeleteAccountRequestclass
DeleteAccountResponseclass
NotificationPreferenceclassOne kind of e-mail the platform sends.
NotificationPreferencesclass
PhoneVerificationSentclassThe code was sent.
PhoneVerifiedclassThe number is verified and the organisation's trust tier is raised.
RenamePasskeyRequestclass
RequestPhoneVerificationRequestclassAsks for a one-time code to a mobile number (W77b; ADR-1101: a phone code is one way to trust tier T1).
RevokeOtherSessionsResponseclass
SessionMethodenumHow a session was opened.
UpdateNotificationPreferencesRequestclass
UpdateNotificationPreferencesRequest_emailclassCategory to e-mail on or off; a required category is refused when turned off.