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

Move user to Sub Organization

Move user to Sub Organization

POST
/api/organization/sub-org/{sub_org_id}/move-account
Move user to Sub Organization
curl --request POST \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/move-account" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"email": "<email>"
}'
{
"type": "success",
"message": "User : [email protected] moved to Sub-Organization ID - 12345 "
}

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

Move user to Sub Organization

emailstring

Response

application/json

Move user to Sub Organization Success

typestring
messagestring
Move user to Sub Organization
curl --request POST \
--url "https://auth.lambdatest.com//api/organization/sub-org/{sub_org_id}/move-account" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"email": "<email>"
}'
{
"type": "success",
"message": "User : [email protected] moved to Sub-Organization ID - 12345 "
}