Sub Organization - User › Register user to Sub Organization
Sub Organization - User
Register user to Sub Organization Register user to Sub Organization
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" : "testUser" ,
"email" : "testuser@lambdatest.com" ,
"password" : "helloTest@123" ,
"org_role" : "User"
} '
{
"type" : "success" ,
"message" : "User for email: testuser@lambdatest.com created"
}
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 Register user to Sub Organization
Response 200▼
application/json Register user to Sub Organization Success
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" : "testUser" ,
"email" : "testuser@lambdatest.com" ,
"password" : "helloTest@123" ,
"org_role" : "User"
} '
{
"type" : "success" ,
"message" : "User for email: testuser@lambdatest.com created"
}