Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request POST \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/organizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Marketing Team",
"billing_account_id": "cus_a1b2c3d4e5f6g7h8",
"limits": {
"locations": 5,
"users": 20
},
"picture": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...",
"branding": {
"display_name": "ACME Inc.",
"login_hint": "acme-inc",
"colors": {
"primary": "#007bff"
}
}
}
'{
"id": "org_aBcDeFg123456789",
"name": "Engineering Department",
"workspace_id": "ws_a1b2c3d4e5f6g7h8",
"external_id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"parent_org_id": "org_zYxWvUt987654321",
"path": "org_root123#org_parent456",
"depth": 2,
"billing_account_id": "cus_a1b2c3d4e5f6g7h8",
"picture": "https://cdn.altostrat.io/logos/engineering.png",
"usage": {
"usage": {
"locations": 2,
"users": 5
},
"subtree_usage": {
"locations": 10,
"users": 25
}
},
"limits": {
"locations": 10,
"users": 50
},
"branding": {
"display_name": "ACME Corp",
"login_hint": "acme-corp",
"colors": {
"primary": "#FF5733",
"page_background": "#FFFFFF"
}
}
}Creates a new top-level organization within a workspace. To create a child organization, use the /organizations/{organizationId}/children endpoint. A workspace cannot have more than 1,000 organizations in total.
curl --request POST \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/organizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Marketing Team",
"billing_account_id": "cus_a1b2c3d4e5f6g7h8",
"limits": {
"locations": 5,
"users": 20
},
"picture": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...",
"branding": {
"display_name": "ACME Inc.",
"login_hint": "acme-inc",
"colors": {
"primary": "#007bff"
}
}
}
'{
"id": "org_aBcDeFg123456789",
"name": "Engineering Department",
"workspace_id": "ws_a1b2c3d4e5f6g7h8",
"external_id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"parent_org_id": "org_zYxWvUt987654321",
"path": "org_root123#org_parent456",
"depth": 2,
"billing_account_id": "cus_a1b2c3d4e5f6g7h8",
"picture": "https://cdn.altostrat.io/logos/engineering.png",
"usage": {
"usage": {
"locations": 2,
"users": 5
},
"subtree_usage": {
"locations": 10,
"users": 25
}
},
"limits": {
"locations": 10,
"users": 50
},
"branding": {
"display_name": "ACME Corp",
"login_hint": "acme-corp",
"colors": {
"primary": "#FF5733",
"page_background": "#FFFFFF"
}
}
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Enter your JWT in the format: Bearer {token}
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
The name of the organization. Maximum 50 characters.
"Marketing Team"
The ID of the billing account to associate. Required for root organizations in single or assigned billing modes. Must be null for child organizations or any organization in pooled mode.
"cus_a1b2c3d4e5f6g7h8"
Set resource limits for the organization. Keys are meterable types (locations, users, sso). A value of null removes the limit, 0 disables the resource.
Show child attributes
{ "locations": 5, "users": 20 }
A public HTTPS URL to an image or a base64 encoded data URI. The image will be processed and hosted by Altostrat. Must be a JPEG, PNG, or GIF under 2MB.
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA..."
Branding settings for the organization.
Show child attributes
The organization was created successfully.
Unique identifier for the organization (corresponds to Auth0 organization ID), prefixed with org_.
"org_aBcDeFg123456789"
The human-readable name of the organization.
"Engineering Department"
The ID of the workspace this organization belongs to.
"ws_a1b2c3d4e5f6g7h8"
A stable, unique identifier for the organization, independent of its Auth0 ID.
"a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"
The ID of the parent organization, if this is a child organization.
"org_zYxWvUt987654321"
A #-separated string representing the hierarchical path of ancestors.
"org_root123#org_parent456"
The depth of the organization in the hierarchy (0 for top-level).
2
The ID of the billing account this organization is associated with (in assigned mode).
"cus_a1b2c3d4e5f6g7h8"
A URL to the organization's logo.
"https://cdn.altostrat.io/logos/engineering.png"
Show child attributes
A map of resource limits applied directly to this organization. Keys are meterable types (locations, users, sso). A value of null or a missing key means no limit is set at this level. A value of 0 means the resource is explicitly disabled.
Show child attributes
{ "locations": 10, "users": 50 }
Show child attributes
Was this page helpful?