Organization Management API
- Cloud Platform(Not Available)(Not Available)
- Cloud Teams(Not Available)(Not Available)
- Cloud Enterprise
- Self-hosted Community(Not Available)(Not Available)
- Self-hosted Business
- Self-hosted Enterprise
Polyaxon provides API endpoints to manage organizations, members, teams, projects, and service accounts programmatically. These endpoints can be used to automate user provisioning, project management, and access control (see RBAC docs).
If you self-host Polyaxon, you can use the instance management endpoints described below to administer organizations across an instance.
Authentication
Authenticate with the API using an API token or a service account token. Tokens can be created in the Polyaxon UI or via the CLI.
# Using an API token
curl -H "Authorization: token <your-token>" \
https://your-polyaxon-domain.com/api/v1/orgs/<org>/members
# Using the CLI
polyaxon config set --token <your-token>Organization Management
The following API routes are available for managing organizations:
Members
GET /api/v1/orgs/{owner}/members— List organization membersPOST /api/v1/orgs/{owner}/members— Invite a member to the organizationGET /api/v1/orgs/{owner}/members/{username}— Get member detailsPUT /api/v1/orgs/{owner}/members/{username}— Update member roleDELETE /api/v1/orgs/{owner}/members/{username}— Remove a member
Teams
GET /api/v1/orgs/{owner}/teams— List teamsPOST /api/v1/orgs/{owner}/teams— Create a teamGET /api/v1/orgs/{owner}/teams/{team}— Get team detailsPUT /api/v1/orgs/{owner}/teams/{team}— Update a teamDELETE /api/v1/orgs/{owner}/teams/{team}— Delete a teamGET /api/v1/orgs/{owner}/teams/{team}/members— List team membersPOST /api/v1/orgs/{owner}/teams/{team}/members— Add a team memberDELETE /api/v1/orgs/{owner}/teams/{team}/members/{username}— Remove a team member
Projects
GET /api/v1/orgs/{owner}/projects— List projectsPOST /api/v1/orgs/{owner}/projects— Create a projectGET /api/v1/{owner}/{project}— Get project detailsPUT /api/v1/{owner}/{project}— Update a projectDELETE /api/v1/{owner}/{project}— Delete a project
Service Accounts
GET /api/v1/orgs/{owner}/sa— List service accountsPOST /api/v1/orgs/{owner}/sa— Create a service accountGET /api/v1/orgs/{owner}/sa/{sa}— Get service account detailsPUT /api/v1/orgs/{owner}/sa/{sa}— Update a service accountDELETE /api/v1/orgs/{owner}/sa/{sa}— Delete a service accountPOST /api/v1/orgs/{owner}/sa/{sa}/tokens— Create a service account tokenDELETE /api/v1/orgs/{owner}/sa/{sa}/tokens/{token}— Delete a service account token
See the API Reference for full details on request/response formats.
User Provisioning
Polyaxon supports automated user provisioning through its organization management API. Combined with SSO, you can automate the full user lifecycle:
- Invite users via the members API with a specific role.
- Assign users to teams to grant access to the relevant projects.
- Update roles as users change teams or responsibilities.
- Remove users when they leave.
Okta Integration
When using Okta as your identity provider, you can automate user provisioning by combining Okta SSO with Polyaxon's API:
- Configure SSO: Set up Okta SAML2 or OIDC authentication for Polyaxon.
- Enable team sync: Polyaxon can automatically sync Okta groups to Polyaxon teams, keeping team membership in sync without manual management.
- Automate provisioning: Use Okta's lifecycle management workflows to call Polyaxon's member and team APIs to provision and deprovision users automatically.
See the Authentication & SSO docs for details on configuring Okta.