Service Account › Create Service Account
Service Account
Create Service Account Create Service Account
curl -- request POST \
-- url "https://auth.lambdatest.com/api/organization/service-accounts" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"group_id" : 814 ,
"name" : "pawan rai"
} '
{
"group" : {
"id" : 814 ,
"name" : "g2"
} ,
"message" : "Service Account Created SuccessFully" ,
"name" : "pawan rai" ,
"type" : "success" ,
"id" : 515639
}
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 Create Service Accounts Success
group object
▶ Hide child attributesgroup. id number
Example: 814
group. name string
Example: "g2"
curl -- request POST \
-- url "https://auth.lambdatest.com/api/organization/service-accounts" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"group_id" : 814 ,
"name" : "pawan rai"
} '
{
"group" : {
"id" : 814 ,
"name" : "g2"
} ,
"message" : "Service Account Created SuccessFully" ,
"name" : "pawan rai" ,
"type" : "success" ,
"id" : 515639
}