Environment › Create Environments
Environment
Create Environments Create configuration with environment name and variables. Note that supported variable values (Browser, OS, Device) are not publicly available currently, reach out to support if needed.
curl -- request POST \
-- url "https://test-manager-api.lambdatest.com//api/v1/environments" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"configurations" : [ ]
} '
{
"message" : "Environments created successfully" ,
"type" : "success" ,
"environment_id" : [
123 ,
124 ,
125
]
}
Body application/json configurations array required
Response 200▼
application/json Environments created successfully
curl -- request POST \
-- url "https://test-manager-api.lambdatest.com//api/v1/environments" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"configurations" : [ ]
} '
{
"message" : "Environments created successfully" ,
"type" : "success" ,
"environment_id" : [
123 ,
124 ,
125
]
}