Sub Organization - CRUD›Create Sub Organization
Sub Organization - CRUD
Create Sub Organization
Create Sub Organization
curl --request POST \
--url "https://auth.lambdatest.com/api/organization/sub-org" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"allocated_concurrency": {
"prod_KUHcM296xEk2Cy": 1,
"prod_KUHg1I1YdCPH3Z": 1,
"prod_KVAmU3gGH3RkiD": 1,
"prod_KVAntn3WDiTl2j": 0,
"prod_KVAoeaYoNyEjfn_linux": 0,
"prod_NFR_nonrec": 0
},
"name": "SubOrg 2"
}'
{
"message": "Created Sub-Organisation Successfully",
"type": "success",
"sub_org_id": 45005
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/jsonallocated_concurrencyobject
Response
application/jsonCreate Sub Org
curl --request POST \
--url "https://auth.lambdatest.com/api/organization/sub-org" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"allocated_concurrency": {
"prod_KUHcM296xEk2Cy": 1,
"prod_KUHg1I1YdCPH3Z": 1,
"prod_KVAmU3gGH3RkiD": 1,
"prod_KVAntn3WDiTl2j": 0,
"prod_KVAoeaYoNyEjfn_linux": 0,
"prod_NFR_nonrec": 0
},
"name": "SubOrg 2"
}'
{
"message": "Created Sub-Organisation Successfully",
"type": "success",
"sub_org_id": 45005
}