List the members of a group you own
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/groups/{id}/members \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/groups/{id}/members"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/groups/{id}/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"users": [
{
"id": 123,
"email": "<string>",
"role": "<string>"
}
]
}
User Groups
List the members of a group you own
Get the list of members for a group you own.
Only an owner of the group may list its members; admin roles are not considered. Only user members are returned (groups within groups are not supported yet).
GET
/
api
/
v3
/
groups
/
{id}
/
members
List the members of a group you own
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/groups/{id}/members \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/groups/{id}/members"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/groups/{id}/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"users": [
{
"id": 123,
"email": "<string>",
"role": "<string>"
}
]
}