Sub Organization - Invite Users › Get Pending Invites for Sub Organization
Sub Organization - Invite Users
Get Pending Invites for Sub Organization Get Pending Invites for Sub Organization
Get Pending Invites for Sub Organization curl -- request GET \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}/invites" \
-- header "Authorization: Basic <encoded-value>"
{
"data" : [
{
"group" : null ,
"id" : 4634 ,
"recipient_email" : "rishabhagrawal@lambdatest.com" ,
"role" : "User" ,
"sender" : {
"email" : "abhishekj@lambdatest.com" ,
"id" : 99604 ,
"name" : "backend testing"
} ,
"sent_at" : "2023-01-20T12:44:34Z" ,
"status" : "Pending"
}
]
}
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 Get Pending Invites for SubOrg
data object[]
▶ Hide child attributesdata. id number
Example: 4634
data. recipient_email string
Example: "rishabhagrawal@lambdatest.com"
data. role string
Example: "User"
data. sender object
▶ Show child attributes
data. sent_at string
Example: "2023-01-20T12:44:34Z"
data. status string
Example: "Pending"
Get Pending Invites for Sub Organization curl -- request GET \
-- url "https://auth.lambdatest.com/api/organization/sub-org/{sub_org_id}/invites" \
-- header "Authorization: Basic <encoded-value>"
{
"data" : [
{
"group" : null ,
"id" : 4634 ,
"recipient_email" : "rishabhagrawal@lambdatest.com" ,
"role" : "User" ,
"sender" : {
"email" : "abhishekj@lambdatest.com" ,
"id" : 99604 ,
"name" : "backend testing"
} ,
"sent_at" : "2023-01-20T12:44:34Z" ,
"status" : "Pending"
}
]
}