Update user group

Send a fetched group back with your edits, or only the changed fields. filters replaces every filter group; when it is sent, every active access policy of the group is reprocessed.

IdP groups can't be updated (USER_GROUP_IS_IDP): they follow the identity provider. Create a manual group to change membership.

  • Rate limit: 30 requests per minute

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

The user group id: its id in the list.

Body Params
string
enum

Set on create. Accepted only when equal to the stored value, so a fetched group can be sent back as is.

Allowed:
string
length between 1 and 255

The group name, unique among manual groups. Send name, filters, or both.

filters
array of objects
length between 1 and 50

Replaces every filter group of the group. Send name, filters, or both.

filters

A group of filters, all of which a member matches.

string
^group-\d+$

Optional. The server assigns one when omitted; a sent id is kept.

filters
array of objects
required
length between 1 and 50

Filters a member matches all of.

filters*
integer
≥ 1

Optional. The server assigns one when omitted; a sent id is kept.

string
required

A built-in key (fullName, email, activeAppsCount, additionalEmails, numberOfOwnedApps, numberOfStakeholderApps, ownedApps.name, stakeholderApps.name, isDeletedInIdentitySources, isAppOwner, annualCostConverted, countryName, userType, isExternal) or the key of one of the org's integration fields, from customFields in GET /users/metadata. A user-type field takes <key>.id, or the key itself.

string
enum
required

One of the operators the field's type takes. Built-in keys:

  • fullName: contains, notContains, startsWith, endsWith, isSet, isNotSet, equals, notEquals, anyOf, noneOf
  • email: equals, notEquals, contains, notContains, startsWith, endsWith, isSet, isNotSet
  • activeAppsCount, numberOfOwnedApps, numberOfStakeholderApps: gt, gte, lt, lte, equals, notEquals, isSet, isNotSet
  • additionalEmails, ownedApps.name, stakeholderApps.name, countryName: anyOf, allOf, isExactly, noneOf, contains, notContains, isSet, isNotSet
  • isDeletedInIdentitySources, isAppOwner, isExternal: equals
  • annualCostConverted: gt, gte, lt, lte, equals, notEquals
  • userType: equals, notEquals, isSet, isNotSet, contains, notContains, startsWith, endsWith, anyOf, noneOf
    Integration fields, by their type in GET /users/metadata:
  • datePicker: dayAfter, dayOnOrAfter, dayBefore, dayOnOrBefore, relativeDateMore, relativeDateOn, relativeDateLess, relativeDateToday, isSet, isNotSet
  • email, singleLine, multiValueString: equals, notEquals, isSet, isNotSet, contains, notContains, startsWith, endsWith, anyOf, noneOf
  • user: equals, notEquals, isSet, isNotSet, anyOf, noneOf
  • number: gt, gte, lt, lte, equals, notEquals, isSet, isNotSet
string

Depends on op:

  • isSet, isNotSet, relativeDateToday, exists, notExists: none
  • contains, notContains, startsWith, endsWith: a string
  • equals, notEquals: a string, number or boolean
  • gt, gte, lt, lte: a number
  • anyOf, noneOf, allOf, isExactly: an array of 1–100 strings or numbers
  • dayAfter, dayOnOrAfter, dayBefore, dayOnOrBefore: a date as YYYY-MM-DD
  • relativeDateMore, relativeDateOn, relativeDateLess: { number, unit?: "day" | "week" | "month" | "year", type: { value: "ago" | "from" } }, in days without unit
    A user-type field takes user ids. A currency field takes whole cents. A yes/no field takes true or false.
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json