Update a team member
Updates the specified team member by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
PATCH/v3/team-members/{id}
JWTteamMember:write
Path parameters
idstringrequired
Unique identifier for the team member.
Request body
firstNamestring
Length: [1,256]
lastNamestring
Length: [0,256]
emailstring
Length: [1,256]Format: email
rolestring
Length: [1,256]
environmentIdsarray of string
The complete set of environments the member should have access to. When provided, grants are reconciled against it. Required (at least one) when the member's effective role is a non-admin (custom) role; ignored for reserved roles.
Response
200
400
401
403
404
429
500
200 OK
idstringrequired
createdAtstringrequired
Format: date-time
updatedAtstringrequired
Format: date-time
namestringrequired
firstNamestringrequired
lastNamestringrequired
emailstringrequired
rolestringrequired
twoFactorEnabledbooleanrequired
googleSsoEnabledbooleanrequired
environmentIdsarray of stringrequired
lastLoginAtstring
Format: date-time
twoFactorRequiredFromstring
Format: date-time
planIdstring
emailPreferenceobject