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.Documentation Index
Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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
| Type | Provider | User Management | Use Case |
|---|---|---|---|
| Local teams | local | Manual add/remove | Local authentication, custom groupings |
| IdP teams | okta, auth0, microsoft, ida, adfs | Auto-synced from IdP | Enterprise SSO integration |
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
| Parameter | Type | Required | Description |
|---|---|---|---|
name | String | Yes | Team name (unique per provider) |
description | String | No | Team description |
provider | String | No | local (default), okta, auth0, microsoft, ida, adfs |
userIds | [ID] | No | User UUIDs (local teams only) |
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 includeprovider 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
List teams with search
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
| Role | Permissions |
|---|---|
WORKSPACE_ADMIN | Full Workspace control, manage users/teams |
WORKSPACE_EDITOR | Create/manage Deployments, service accounts |
WORKSPACE_VIEWER | View Workspace and Deployment details |
Deployment roles
| Role | Permissions |
|---|---|
DEPLOYMENT_ADMIN | Full Deployment control, manage access |
DEPLOYMENT_EDITOR | Deploy code, manage configuration |
DEPLOYMENT_VIEWER | View Deployment details |
Configuration
Enable local teams
Enable IdP group sync
For full setup instructions, see Import identity provider (IdP) groups.Error handling
| Error | Cause | Resolution |
|---|---|---|
LocalTeamManagementDisabledError | Local teams not enabled | Enable in Helm values |
IDPTeamManagementDisabledError | IdP groups import disabled | Enable IdP group sync |
DuplicateTeamError | Team name exists for provider | Use unique name |
DuplicateRoleBindingError | Team already has role | Update existing role instead |
InvalidTeamProviderError | Unsupported provider value | Use local, okta, auth0, microsoft, ida, or adfs |
ResourceNotFoundError | Team/user not found | Verify UUIDs |
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.