Manual groups: filters is the same filter language as GET /users takes, always as filter groups ([{ "filters": [...] }] for one AND list). A key is one of the built-in keys its description lists, or an integration field from customFields in GET /users/metadata; its predefinedFields include keys groups refuse. A refused key, operator or value comes back as INVALID_FILTER, naming each filter. Count the members with GET /userGroups/stats first.
IdP groups: find the group with GET /userGroups/idpGroupOptions. If its idUserGroup is set, use it; if not, create it with type: 'idp' and idpGroup: { idApp, groupName }, with idApp from its identity provider's entry. Returns 201 when it creates the group, and 200 with the existing group when one exists.
A name that isn't in GET /userGroups/idpGroupOptions is still accepted, and has no members until a sync brings them in: confirm its exact spelling with the user first. Okta groups imported from AD or LDAP, and memberships through nested groups, aren't synced, so such a group stays empty.USER_GROUP_NAME_TAKEN (409) names the group that has the name in details.idUserGroup.
- Rate limit: 30 requests per minute
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||