xeonr.auth.api.v1.CompaniesService
CompaniesService is the product-facing surface for companies: groups of teams that products attach shared configuration to (runner pools, billing). A product sees a company only when the company owns at least one team entitled to the calling application; any other company answers NotFound. Its owners manage it here (the console); creating and deleting companies and detaching teams are administrators', on xeonr.auth.private.v1.
postAdd Company Member
Adds an organisation user or service account to a company. Company owners and administrators. **Required scopes:** `auth:teams:manage`
postAdopt Team
Moves a team that is in no company into this one. The caller must own both the team and the company, or be an administrator. Adoption is permanent: only an administrator can detach the team. **Required scopes:** `auth:teams:manage`
postDescribe Company Membership
Authoritatively answers a subject's standing in a company: whether they are a member and with what role, whether they belong to one of its teams, and whether they may administer it. The company must own a team entitled to the calling application. **Required scopes:** `auth:teams:read`
postGet Company
Fetches a company by URN or slug. The company must own a team entitled to the calling application. **Required scopes:** `auth:teams:read`
postList Company Members
Lists the people and service accounts that belong to a company. The caller must be able to see the company. **Required scopes:** `auth:teams:read`
postList Company Teams
Lists the teams a company owns, when each was adopted and whether the company's members inherit it. The caller must be able to see the company. **Required scopes:** `auth:teams:read`
postList My Companies
Lists the companies the calling subject can see (a member, or a member of one of its teams) that own a team entitled to the calling application, with the caller's role in each. **Required scopes:** `auth:teams:read`
postRemove Company Member
Removes a member, ending what they inherit through the company; the last owner cannot be removed. Company owners and administrators. **Required scopes:** `auth:teams:manage`
postSet Company Member Role
Promotes or demotes a company member; the last owner cannot be demoted. Company owners and administrators. **Required scopes:** `auth:teams:manage`
postSet Team Inheritance
Sets whether the company's members are members of one of its teams. Company owners and administrators. **Required scopes:** `auth:teams:manage`
postUpdate Company
Updates the fields named in update_mask. Company owners and administrators. **Required scopes:** `auth:teams:manage`
Upload Client Logo POST
Uploads a logo image for an OAuth client. Supported formats: PNG, JPEG, WebP, GIF. Maximum size: 2MB, 512x512 pixels. **Required scopes:** `auth:clients:edit`
Add Company Member POST
Adds an organisation user or service account to a company. Company owners and administrators. **Required scopes:** `auth:teams:manage`