Update a group
curl --request PATCH \
--url https://paradigm.lighton.ai/scim/v2/Groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://paradigm.lighton.ai/scim/v2/Groups"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://paradigm.lighton.ai/scim/v2/Groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"externalId": "<string>",
"meta": {
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"resourceType": "Group"
},
"displayName": "<string>",
"members": [
{
"value": "<string>",
"display": "<string>"
}
],
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
]
}{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail": "Unauthorized",
"status": 401
}{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail": "Resource 123 not found",
"status": 404
}SCIM
Update a group
Automatic filtering on company defined in get_extra_model_filter_kwargs_getter() We disable PUT as Microsoft does not need it
PATCH
/
scim
/
v2
/
Groups
Update a group
curl --request PATCH \
--url https://paradigm.lighton.ai/scim/v2/Groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://paradigm.lighton.ai/scim/v2/Groups"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://paradigm.lighton.ai/scim/v2/Groups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"externalId": "<string>",
"meta": {
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"resourceType": "Group"
},
"displayName": "<string>",
"members": [
{
"value": "<string>",
"display": "<string>"
}
],
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:Group"
]
}{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail": "Unauthorized",
"status": 401
}{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail": "Resource 123 not found",
"status": 404
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data