| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
?string | ➖ | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
remoteId |
?string | ➖ | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
unifiedCustomFields |
array<string, mixed> | ➖ | Custom Unified Fields configured in your StackOne project | { "my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value" } |
primaryEmailAddress |
?string | ➖ | Primary email address of the user. This is generally a work email address. | han@stackone.com |
firstName |
?string | ➖ | N/A | Han |
lastName |
?string | ➖ | N/A | Solo |
name |
?string | ➖ | User's name which (can be a full name or display name) | Han Solo |
username |
?string | ➖ | N/A | hansolo1977 |
isBotUser |
bool|Components\IsBotUser2|null | ➖ | Indicates if the user is a bot or service user | true |
roles |
array<Components\IamRole> | ➖ | List of roles the user is assigned to | |
groups |
array<Components\IamGroup> | ➖ | List of groups the user is assigned to | |
status |
?Components\IamUserStatus | ➖ | N/A | |
lastActiveAt |
\DateTime | ➖ | The date this user was last active | 2021-01-01T01:01:01.000Z |
lastLoginAt |
\DateTime | ➖ | The date this user last logged in | 2021-01-01T01:01:01.000Z |
createdAt |
\DateTime | ➖ | The date the user was created | 2021-01-01T01:01:01.000Z |
updatedAt |
\DateTime | ➖ | The date the user was created | 2021-01-01T01:01:01.000Z |
multiFactorEnabled |
array<Components\IamMfaTypeEnum> | ➖ | The list of Multi-Factor Authentication (MFA) types enabled for the user. | |
avatar |
?Components\IamUserAvatar | ➖ | The user's avatar data. This generally contains a URL within this property's 'contents' array. |