Skip to main content
Sub Organization - UserRegister user to Sub Organization
TestMu AI
StatusCommunityBlog
Sub Organization - User

Register user to Sub Organization

Register user to Sub Organization

POST
/api/organization/sub-org/{sub_org_id}/users
Register user to Sub Organization
curl --request POST \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/users" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"name": "<name>",
"email": "<email>",
"password": "<password>",
"org_role": "<org_role>"
}'
{
"type": "success",
"message": "User for email: [email protected] created"
}

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

Register user to Sub Organization

namestring
emailstring
passwordstring
org_rolestring

Response

application/json

Register user to Sub Organization Success

typestring
messagestring
Register user to Sub Organization
curl --request POST \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/users" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"name": "<name>",
"email": "<email>",
"password": "<password>",
"org_role": "<org_role>"
}'
{
"type": "success",
"message": "User for email: [email protected] created"
}