Modify a user's group and role assignments

This operation edits what groups a user has access to, and how the user interacts with the objects in those groups.

Recipes
Modify a user's group and role assignments
Open Recipe
Path Params
string
required

Unique identifier for each user. To get this value, run the List users operation.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
Response

Response body
array of objects
object
integer
≥ 0

Unique identifier for each group. It's returned only for group roles.

string
length ≥ 1

Descriptive label for the group.

boolean

Whether a user's access to a group is blocked.

string
length ≥ 1

Descriptive label for the role to convey its use.

integer
required
≥ 1

Unique identifier for each role.

string
required
length ≥ 1

Descriptive label for the role.

subGroups
array of objects
length ≥ 0

Children of the parent group. Permissions cascade downward from parent to child unless the child group's isBlocked is true.

subGroups
object
Language
Authentication
URL