Change a group
PATCH
/scim/v2/Groups/{id}
const url = 'https://forge.example.com/scim/v2/Groups/example';const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://forge.example.com/scim/v2/Groups/example \ --header 'Authorization: Bearer <token>'Members added or removed with "path": "members" and a list of values, removed with members[value eq "…"], all removed, or replaced whole; the name replaced by its path or by a value object. Each person whose groups changed gets their roles again, and a role taken away ends their sessions at once.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Done. The answer has no body.
default
Section titled “default”A refusal or an error on the SCIM endpoints, as SCIM’s error document (RFC 7644 section 3.12).
Media typeapplication/scim+json
object
schemas
Array<string>
status
string
scimType
string
detail
string
Example generated
{ "schemas": [ "example" ], "status": "example", "scimType": "example", "detail": "example"}