Skip to main content
Sub Organization - CRUDBulk Update Sub Org
TestMu AI
StatusCommunityBlog
Sub Organization - CRUD

Bulk Update Sub Org

Bulk Update Sub Org

PUT
/api/organization/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

Authorizationstringheaderrequired

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

Body

application/json
sub_orgsarray

Response

application/json

Bulk Update Sub Org

messagestring
typestring
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"
}