Skip to main content
Sub Organization - Service AccountCreate Service Account
TestMu AI
StatusCommunityBlog
Sub Organization - Service Account

Create Service Account

Create Service Account

POST
/api/organization/sub-org/{sub_org_id}/service-accounts
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

Body

application/json
namestring

Response

application/json

Create Service Account

messagestring
namestring
typestring
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"
}