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": "<name>"
}'
{
"message": "Service Account Created SuccessFully",
"name": "Test Service Account",
"type": "success"
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
sub_org_idintegerrequired
Sub Organization ID
Response
application/jsonCreate 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": "<name>"
}'
{
"message": "Service Account Created SuccessFully",
"name": "Test Service Account",
"type": "success"
}