xeonr.auth.api.v1.ServiceAccountsService
ServiceAccountsService lets a product create and manage service accounts on its OWN application that belong to one of the teams entitled to it: a team's bot in the forge, say (AUTH-309). Each account is owned by the team, is a member of it with the application team roles asked for, and records the person who asked and the service account that vouched for them. Service accounts only, and only a platform application's own: every method refuses a person's token, is confined to the calling service account's application, and needs `auth:service-accounts:manage:own`, which no client holds until an organisation administrator approves it on the product's binding to the auth application. The acting person (`on_behalf_of_user`) must own the team, or hold the application's team roles: they may give only roles ranked no higher than their own, and a bare membership only if they hold the application's highest-ranked team role. Credentials are not part of this service: a product issues the account's keys through ApiKeysService (owner kind SERVICE_ACCOUNT). A disabled account's keys are refused at verification; deleting one revokes its keys and drops its team memberships.
postCreate Team Service Account
Creates a service account on the calling service account's application, owned by `team` and added to it as a member with `application_roles` (the calling application's team roles), holding `scopes` (the application's own, which cap its keys). The team must be entitled to the application, and `on_behalf_of_user` must own the team or hold the application's team roles there, giving none ranked above their own (a bare membership needs the highest-ranked role). Returns no token: issue keys through ApiKeysService. Service accounts only, of a platform application. **Required scopes:** `auth:service-accounts:manage:own`
postDelete Team Service Account
Deletes one of the calling application's team service accounts: revokes every API key it owns, drops its team memberships and removes it. Cannot be undone. `on_behalf_of_user` is held to the same standing as on creation. Service accounts only, of a platform application. **Required scopes:** `auth:service-accounts:manage:own`
postList Team Service Accounts
Lists the calling application's service accounts owned by `team`, by name. Accounts created any other way are never listed. Service accounts only, of a platform application. **Required scopes:** `auth:service-accounts:manage:own`
postUpdate Team Service Account
Changes the fields named in `update_mask` (`description`, `enabled`, `application_roles`, `scopes`) of one of the calling application's team service accounts. Disabling refuses its keys at verification and its tokens at use. `on_behalf_of_user` is held to the same standing as on creation, against the account's owning team. Service accounts only, of a platform application. **Required scopes:** `auth:service-accounts:manage:own`
Verify Email POST
Completes verification of an address added with AddEmail, using the token from the emailed link. Must be called as the account that added the address. Refused with `failed_precondition` when another account verified the address first. **Required scopes:** `auth:emails:edit` or `auth:account:edit`
Create Team Service Account POST
Creates a service account on the calling service account's application, owned by `team` and added to it as a member with `application_roles` (the calling application's team roles), holding `scopes` (the application's own, which cap its keys). The team must be entitled to the application, and `on_behalf_of_user` must own the team or hold the application's team roles there, giving none ranked above their own (a bare membership needs the highest-ranked role). Returns no token: issue keys through ApiKeysService. Service accounts only, of a platform application. **Required scopes:** `auth:service-accounts:manage:own`