Creates a group for a specified tenant.

Entitlement required: manageUserGroups (Manage users and groups), or manageAllUserGroups (Synchronize users and groups), or manageUserStandardGroups (Manage users and standard groups).
Note: You only need one entitlement, but you can have more than one.

To create a group, a displayName is required. An optional Description attribute can be set to describe the group. A group can be created with or without members. When a group is created with members, a list of members needs to be passed in.

By default, an email is sent to each regular user member added to the group. Federated user members do not get an email notification. The email template for branding is at "notifications/user_management/group/{locale}/group_added_email.xml". Pass in the themeId query parameter to brand the email template for notifications. To turn off email notifications, send the notifications option "urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification": {"notifyType":"NONE"} in the payload.

Limitations for tenants that support large groups:

- A maximum of 256 first-level, nested group members is allowed.
- A maximum of 2,500 users members is allowed in the input payload. To add more members, use PATCH.


To check whether the tenant supports large groups, run the GET /v2.0/SCIM/capabilities API.

Query Params
string

The identifier of the theme that you want to apply.

Body Params

The group object that contains the attributes for the group that is to be created.

schemas
array of strings
required

An array of strings that contain the URIs that indicate the namespaces of the SCIM schemas that define the attributes in the current JSON structure. The schemas "urn:ietf:params:scim:schemas:core:2.0:Group", urn:ietf:params:scim:schemas:extension:ibm:2.0:Group", and "urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification" are valid. The core group schema is required.

schemas*
string
required

The display name of the group. Maximum length is 255 characters.

members
array of objects

A list of members that are being added. When creating a group, the number of elements must be less than or equal to 10,000.

members
urn:ietf:params:scim:schemas:extension:ibm:2.0:Group
object
urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification
object
string

Identifier of the Group resource as defined by the provisioning client. Maximum length is 240 characters.

boolean
Responses

Language
URL
Choose an example:
application/scim+json