Add a member to teams

Add one member to one or more teams.

Path parameters

idstringRequired
The member ID

Headers

AuthorizationstringRequired

Request

This endpoint expects an object.
teamKeyslist of stringsRequired
List of team keys

Response

Member response
_idstring
The member's ID
rolestring
The member's base role. If the member has no additional roles, this role will be in effect.
emailstring
The member's email address
_pendingInviteboolean
Whether the member has a pending invitation
_verifiedboolean
Whether the member's email address has been verified
customRoleslist of strings
The set of additional roles, besides the base role, assigned to the member
mfastring

Whether multi-factor authentication is enabled for this member

_lastSeenlong

The member’s last session date (as Unix milliseconds since epoch)

creationDatelong
Timestamp of when the member was created
firstNamestring or null
The member's first name
lastNamestring or null
The member's last name
_pendingEmailstring or null
The member's email address before it has been verified, for accounts where email verification is required
excludedDashboardslist of strings or null
Default dashboards that the member has chosen to ignore
_lastSeenMetadataobject or null
Additional metadata associated with the member's last session, for example, whether a token was used
_integrationMetadataobject or null
Details on the member account in an external source, if this member is provisioned externally
teamslist of objects or null
Details on the teams this member is assigned to
permissionGrantslist of objects or null
A list of permission grants. Permission grants allow a member to have access to a specific action, without having to create or update a custom role.
oauthProviderslist of strings or null
A list of OAuth providers
versioninteger or null
Version of the current configuration
roleAttributesmap from strings to lists of strings or null
The role attributes for the member

Errors