Skip to main content
Teams in Astro Private Cloud let you group users and assign permissions collectively. You can manage teams locally or sync them from an Identity Provider (IdP). To configure IdP group sync, see Import identity provider (IdP) groups.

Prerequisites

  • Access to the APC API GraphQL API endpoint for your Astro Private Cloud installation.
  • A valid authentication token. See Authenticate to the APC API.
  • The UUIDs of any users, workspaces, or Deployments you want to reference.

Team types

Create a team

Create local team

Create IdP team

IdP group sync automatically creates IdP teams, but you can also create them manually:
You can’t assign users to IdP teams at creation time. The IdP syncs users to the team.

Parameters

Update a team

Update team details

Add users to local team

Remove users from local team

Replace all users

Update by name (alternative)

Team names are unique per provider, not globally. You must include provider alongside name to uniquely identify a team.

Remove a team

Remove by UUID

Remove by name and provider

You can only remove IdP teams that have no attached users.

Query teams

Get single team

searchPhrase requires a minimum of three characters.

List workspace teams

List deployment teams

Assign team roles

Assign a team role

Assign a team to a workspace

If you omit role, the team defaults to WORKSPACE_VIEWER.
Assign workspace and deployment roles in a single mutation:

Assign a team to a Deployment

Update a team’s role

Update a team’s workspace role

Update a team’s Deployment role

Remove a team’s role

Remove a team from a workspace

Remove a team from a Deployment

Available roles

Workspace roles

Deployment roles

Configuration

Enable local teams

Enable IdP group sync

For full setup instructions, see Import identity provider (IdP) groups.

Error handling

Best practices

  • Use IdP teams for enterprise SSO environments.
  • Use local teams for custom access groups.
  • Assign Workspace roles before Deployment roles.
  • Use Viewer roles as default and escalate as needed.
  • Audit team membership regularly.