TeamMembers

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}

Path parameters

idstring required

Unique identifier for the team member.

Request body

firstNamestring nullable
lastNamestring nullable
emailstring email nullable
rolestring nullable
environmentIdsstring[] nullable

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

OK

idstring required
createdAtstring date-time required
updatedAtstring date-time required
namestring required
firstNamestring required
lastNamestring required
emailstring required
rolestring required
twoFactorEnabledboolean required
googleSsoEnabledboolean required
lastLoginAtstring date-time nullable
twoFactorRequiredFromstring date-time nullable
planIdstring nullable
environmentIdsstring[] required

Changes

Changed in 1 of the 5 revisions of this API.1