Sub Organization - Invite Users › Invite Users to Sub Organization
Sub Organization - Invite Users
Invite Users to Sub Organization Invite Users to Sub Organization
Invite Users to Sub Organization curl -- request POST \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}/invites/users" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' [
{
"email" : "pawan12@qiott.com" ,
"role" : "Admin"
}
] '
{
"message" : "Invite Sent Successfully" ,
"type" : "success"
}
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
Response 200▼
application/json Invite Users to Sub Org
Invite Users to Sub Organization curl -- request POST \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}/invites/users" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' [
{
"email" : "pawan12@qiott.com" ,
"role" : "Admin"
}
] '
{
"message" : "Invite Sent Successfully" ,
"type" : "success"
}