Make a group
POST
/scim/v2/Groups
const url = 'https://forge.example.com/scim/v2/Groups';const options = {method: 'POST', 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 POST \ --url https://forge.example.com/scim/v2/Groups \ --header 'Authorization: Bearer <token>'displayName, unique in the organization (409 uniqueness otherwise), externalId and members, each {"value": <a user's id>}. Its members get the roles the organization maps the group to, by its display name or its externalId; a group no mapping names gives no role.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The group, with its address in Location.
Media typeapplication/scim+json
string
Example generated
exampledefault
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"}