Sub Organization - CRUD › Get Sub Organization By ID
Sub Organization - CRUD
Get Sub Organization By ID Get Sub Organization By ID
Get Sub Organization By ID curl -- request GET \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}" \
-- header "Authorization: Basic <encoded-value>"
{
"data" : {
"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 Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters sub_org_id integer required
Sub Organization ID
Response 200▼
application/json Get Sub Org By ID
data object
▶ Hide child attributesdata. allocated_concurrency object[]
▶ Show child attributes
data. created_at string
Example: "2023-01-30T11:00:36Z"
data. name string
Example: "SubOrg 1"
data. org_id number
Example: 166859
data. service_account_count number
Example: 0
data. service_accounts array
data. user_count number
Example: 0
Get Sub Organization By ID curl -- request GET \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}" \
-- header "Authorization: Basic <encoded-value>"
{
"data" : {
"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" : [ ]
}
}