TokenInfo
TokenInfo describes the machine access token (an organization, team or service principal token) a request was made with. Its organization, team and service principal values are display names, meant for showing to people; they are not identifiers, so do not use them in API paths or stack references.
Properties
namestring requiredThe name of the access token.organizationstring requiredThe display name of the organization the token belongs to, meant for showing to people and not an identifier to use in API paths or stack references. Set for organization, team and service principal tokens.teamstring requiredThe display name of the team the token belongs to, meant for showing to people and not an identifier to use in API paths. Set only for team tokens; null otherwise.servicePrincipalstring requiredThe display name of the service principal the token belongs to, meant for showing to people and not an identifier to use in API paths. Set only for service principal tokens; null otherwise.