GET
/
workspaces
/
{workspace_id}
/
organizations
/
{organization_id}
/
descendants
List All Descendants
curl --request GET \
  --url https://api.altostrat.io/workspaces/{workspace_id}/organizations/{organization_id}/descendants \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "workspace_id": "<string>",
      "external_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "parent_org_id": "<string>",
      "path": "<string>",
      "depth": 4,
      "billing_account_id": "<string>",
      "usage": {
        "usage": {},
        "subtree_usage": {}
      },
      "limits": {},
      "picture": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Auth0 JWT token for user authentication.

Path Parameters

workspace_id
string
required

The unique identifier for the workspace.

Example:

"ws_abc123"

organization_id
string
required

The unique identifier for the organization (Auth0 org ID).

Example:

"org_123abc"

Response

200 - application/json

A list of all descendant organizations.

The response is of type object.