Sub Organization - CRUD › Bulk Update Sub Org
Sub Organization - CRUD
Bulk Update Sub Org Bulk Update Sub Org
curl -- request PUT \
-- url "https://auth.lambdatest.com/api/organization/sub-org" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"sub_orgs" : [
{
"allocated_concurrency" : {
"prod_NFR" : 3
} ,
"id" : 1000000011 ,
"name" : "Suborg 1 update m1"
} ,
{
"allocated_concurrency" : {
"prod_NFR" : 4
} ,
"id" : 1000000010 ,
"name" : "Suborg 2 update m2"
}
]
} '
{
"message" : "Updated Sub-Organisation Successfully" ,
"type" : "success"
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response 200▼
application/json Bulk Update Sub Org
curl -- request PUT \
-- url "https://auth.lambdatest.com/api/organization/sub-org" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"sub_orgs" : [
{
"allocated_concurrency" : {
"prod_NFR" : 3
} ,
"id" : 1000000011 ,
"name" : "Suborg 1 update m1"
} ,
{
"allocated_concurrency" : {
"prod_NFR" : 4
} ,
"id" : 1000000010 ,
"name" : "Suborg 2 update m2"
}
]
} '
{
"message" : "Updated Sub-Organisation Successfully" ,
"type" : "success"
}