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 Houston GraphQL API endpoint for your Astro Private Cloud installation.
  • A valid authentication token. See Authenticate to the Houston 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

Add team to workspace

If you omit role, the team defaults to WORKSPACE_VIEWER.

Add team with deployment roles

Assign workspace and deployment roles in a single mutation:

Update team workspace role

Remove team from workspace

Add team to deployment

Update team deployment role

Remove team from 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.