Update an organization user

Updates the specified organization user by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

PATCH/v3/organizations/{organizationId}/users/{id}
JWTorganization:user:update

Path parameters

organizationIdstringrequired
idstringrequired

Unique identifier for the organization user.

Request body

firstNamestring

First name of the user. //

Length: [1,256]

lastNamestring

Last name of the user.

Length: [0,256]

emailstring

Email address of the user.

Length: [1,256]Format: email

rolestring

Role of the user.

Length: [1,256]

userGroupIdsarray of string

List of unique identifiers for the user groups.

allowCustomerPortalAccessboolean

Allow customer portal access.

Response

200 OK

idstringrequired
createdAtstringrequired

Format: date-time

updatedAtstringrequired

Format: date-time

namestringrequired
firstNamestringrequired
lastNamestringrequired
emailstringrequired
rolestringrequired
twoFactorEnabledbooleanrequired
googleSsoEnabledbooleanrequired
userGroupsarray of objectrequired
lastLoginAtstring

Format: date-time

twoFactorRequiredFromstring

Format: date-time