Sub Organization - CRUD › Update Sub Organization By ID
Sub Organization - CRUD
Update Sub Organization By ID Update Sub Organization By ID
Update Sub Organization By ID curl -- request PUT \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"allocated_concurrency" : {
"prod_KUHcM296xEk2Cy" : 2 ,
"prod_KUHg1I1YdCPH3Z" : 0 ,
"prod_KVAmU3gGH3RkiD" : 0 ,
"prod_KVAntn3WDiTl2j" : 0 ,
"prod_KVAoeaYoNyEjfn_linux" : 0 ,
"prod_NFR_nonrec" : 0
} ,
"name" : "SubOrg 1"
} '
{
"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.
Path Parameters sub_org_id integer required
Sub Organization ID
Body application/json allocated_concurrency object
Response 200▼
application/json Update Sub Org
Update Sub Organization By ID curl -- request PUT \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"allocated_concurrency" : {
"prod_KUHcM296xEk2Cy" : 2 ,
"prod_KUHg1I1YdCPH3Z" : 0 ,
"prod_KVAmU3gGH3RkiD" : 0 ,
"prod_KVAntn3WDiTl2j" : 0 ,
"prod_KVAoeaYoNyEjfn_linux" : 0 ,
"prod_NFR_nonrec" : 0
} ,
"name" : "SubOrg 1"
} '
{
"message" : "Updated Sub-Organisation Successfully" ,
"type" : "success"
}