Invites Users › Invite user with Group
Invites Users
Invite user with Group Invite user with Group
curl -- request POST \
-- url "https://auth.lambdatest.com/api/organization/invites/users" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' [
{
"email" : "xyz2@lambdatest.com" ,
"group_id" : 803 ,
"role" : "User"
}
] '
{
"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.
Response 200▼
application/json Invite user with Group
curl -- request POST \
-- url "https://auth.lambdatest.com/api/organization/invites/users" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' [
{
"email" : "xyz2@lambdatest.com" ,
"group_id" : 803 ,
"role" : "User"
}
] '
{
"message" : "Invite Sent Successfully" ,
"type" : "success"
}