Skip to main content
Sub Organization - CRUDGet Sub Organizations
TestMu AI
StatusCommunityBlog
Sub Organization - CRUD

Get Sub Organizations

Get Sub Organizations

GET
/api/organization/sub-org
Get Sub Organizations
curl --request GET \
--url "https://auth.lambdatest.com//api/organization/sub-org" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"root_org": {
"available_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 0
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "Manual Testing - Real Devices",
"value": 3
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "Web Automation on Desktop",
"value": 3
},
{
"key": "prod_KVAoeaYoNyEjfn_linux",
"product_name": "HyperExecute Cloud (Linux Only)",
"value": 9
},
{
"key": "prod_KVAntn3WDiTl2j",
"product_name": "Native App Automation (Trial)",
"value": 7
}
],
"created_at": "2022-12-02T14:17:28Z",
"name": "100",
"org_id": 166750
},
"sub_orgs": [
{
"allocated_concurrency": [
{
"key": "prod_KVAoeaYoNyEjfn_linux",
"product_name": "",
"value": 1
},
{
"key": "prod_KVAntn3WDiTl2j",
"product_name": "",
"value": 3
},
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 1
}
],
"created_at": "2023-01-25T18:49:29Z",
"name": "SubOrg 1",
"org_id": 166849,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
}
],
"created_at": "2023-01-25T18:56:33Z",
"name": "SubOrg 1",
"org_id": 166850,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
}
],
"created_at": "2023-01-25T19:17:39Z",
"name": "SubOrg 2",
"org_id": 166851,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
},
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "",
"value": 1
}
],
"created_at": "2023-01-27T16:00:32Z",
"name": "SubOrg 2",
"org_id": 166852,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "",
"value": 1
},
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
},
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "",
"value": 1
}
],
"created_at": "2023-01-27T16:03:34Z",
"name": "SubOrg 2",
"org_id": 166853,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "",
"value": 1
},
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
}
],
"created_at": "2023-01-27T16:06:14Z",
"name": "SubOrg 2",
"org_id": 166854,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "",
"value": 1
}
],
"created_at": "2023-01-27T16:09:54Z",
"name": "SubOrg 2",
"org_id": 166855,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "Manual Testing - Real Devices",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "Web Automation on Desktop",
"value": 1
}
],
"created_at": "2023-01-27T16:11:12Z",
"name": "SubOrg 2",
"org_id": 166856,
"service_account_count": 1,
"service_accounts": [
{
"id": 78101,
"name": "rishab service",
"role": "Guest",
"status": "Active"
}
],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "Manual Testing - Real Devices",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "Web Automation on Desktop",
"value": 1
}
],
"created_at": "2023-01-30T11:00:05Z",
"name": "SubOrg 2",
"org_id": 166857,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "Manual Testing - Real Devices",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "Web Automation on Desktop",
"value": 1
}
],
"created_at": "2023-01-30T11:00:10Z",
"name": "SubOrg 2",
"org_id": 166858,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 2
}
],
"created_at": "2023-01-30T11:00:36Z",
"name": "SubOrg 1",
"org_id": 166859,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
}
]
}
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

expandboolean

Expand sub-organization details

Response

application/json

Get Sub Orgs

dataobject
data.root_orgobject
data.sub_orgsobject[]
Get Sub Organizations
curl --request GET \
--url "https://auth.lambdatest.com//api/organization/sub-org" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"root_org": {
"available_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 0
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "Manual Testing - Real Devices",
"value": 3
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "Web Automation on Desktop",
"value": 3
},
{
"key": "prod_KVAoeaYoNyEjfn_linux",
"product_name": "HyperExecute Cloud (Linux Only)",
"value": 9
},
{
"key": "prod_KVAntn3WDiTl2j",
"product_name": "Native App Automation (Trial)",
"value": 7
}
],
"created_at": "2022-12-02T14:17:28Z",
"name": "100",
"org_id": 166750
},
"sub_orgs": [
{
"allocated_concurrency": [
{
"key": "prod_KVAoeaYoNyEjfn_linux",
"product_name": "",
"value": 1
},
{
"key": "prod_KVAntn3WDiTl2j",
"product_name": "",
"value": 3
},
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 1
}
],
"created_at": "2023-01-25T18:49:29Z",
"name": "SubOrg 1",
"org_id": 166849,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
}
],
"created_at": "2023-01-25T18:56:33Z",
"name": "SubOrg 1",
"org_id": 166850,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
}
],
"created_at": "2023-01-25T19:17:39Z",
"name": "SubOrg 2",
"org_id": 166851,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
},
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "",
"value": 1
}
],
"created_at": "2023-01-27T16:00:32Z",
"name": "SubOrg 2",
"org_id": 166852,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "",
"value": 1
},
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
},
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "",
"value": 1
}
],
"created_at": "2023-01-27T16:03:34Z",
"name": "SubOrg 2",
"org_id": 166853,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "",
"value": 1
},
{
"key": "prod_NFR_nonrec",
"product_name": "",
"value": 2
}
],
"created_at": "2023-01-27T16:06:14Z",
"name": "SubOrg 2",
"org_id": 166854,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "",
"value": 1
}
],
"created_at": "2023-01-27T16:09:54Z",
"name": "SubOrg 2",
"org_id": 166855,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "Manual Testing - Real Devices",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "Web Automation on Desktop",
"value": 1
}
],
"created_at": "2023-01-27T16:11:12Z",
"name": "SubOrg 2",
"org_id": 166856,
"service_account_count": 1,
"service_accounts": [
{
"id": 78101,
"name": "rishab service",
"role": "Guest",
"status": "Active"
}
],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "Manual Testing - Real Devices",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "Web Automation on Desktop",
"value": 1
}
],
"created_at": "2023-01-30T11:00:05Z",
"name": "SubOrg 2",
"org_id": 166857,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 1
},
{
"key": "prod_KVAmU3gGH3RkiD",
"product_name": "Manual Testing - Real Devices",
"value": 1
},
{
"key": "prod_KUHg1I1YdCPH3Z",
"product_name": "Web Automation on Desktop",
"value": 1
}
],
"created_at": "2023-01-30T11:00:10Z",
"name": "SubOrg 2",
"org_id": 166858,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
},
{
"allocated_concurrency": [
{
"key": "prod_KUHcM296xEk2Cy",
"product_name": "Manual Testing - Live",
"value": 2
}
],
"created_at": "2023-01-30T11:00:36Z",
"name": "SubOrg 1",
"org_id": 166859,
"service_account_count": 0,
"service_accounts": [],
"user_count": 0,
"users": []
}
]
}
}