Sub Organization - Service Account › Create Service Account
Sub Organization - Service Account
Create Service Account Create Service Account
curl -- request POST \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}/service-accounts" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "Test Service Account"
} '
{
"message" : "Service Account Created SuccessFully" ,
"name" : "Test Service Account" ,
"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
Response 200▼
application/json Create Service Account
curl -- request POST \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}/service-accounts" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "Test Service Account"
} '
{
"message" : "Service Account Created SuccessFully" ,
"name" : "Test Service Account" ,
"type" : "success"
}