List or Retrieve a group
curl --request GET \
--url https://api.lighton.ai/scim/v2/Groups \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lighton.ai/scim/v2/Groups"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lighton.ai/scim/v2/Groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"displayName": "<string>",
"members": [
{
"value": "<string>",
"display": "<string>"
}
],
"meta": {
"location": "<string>",
"resourceType": "Group"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
]
}{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail": "Unauthorized",
"status": 401
}SCIM
List or Retrieve a group
Automatic filtering on company defined in get_extra_model_filter_kwargs_getter() We disable PUT as Microsoft does not need it
GET
/
scim
/
v2
/
Groups
List or Retrieve a group
curl --request GET \
--url https://api.lighton.ai/scim/v2/Groups \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lighton.ai/scim/v2/Groups"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lighton.ai/scim/v2/Groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"displayName": "<string>",
"members": [
{
"value": "<string>",
"display": "<string>"
}
],
"meta": {
"location": "<string>",
"resourceType": "Group"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
]
}{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail": "Unauthorized",
"status": 401
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.