Sub Organization - User › Move user to Sub Organization
Sub Organization - User
Move user to Sub Organization Move user to Sub Organization
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" : "testuser@lambdatest.com"
} '
{
"type" : "success" ,
"message" : "User : testuser@lambdatest.com moved to Sub-Organization ID - 12345 "
}
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
Body application/json Move user to Sub Organization
Response 200▼
application/json Move user to Sub Organization Success
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" : "testuser@lambdatest.com"
} '
{
"type" : "success" ,
"message" : "User : testuser@lambdatest.com moved to Sub-Organization ID - 12345 "
}