{
"_id": "64c70f5730ae176dbf0267fc",
"name": "Jhon doe",
"email": "[email protected]",
"language": "en",
"firstLogin": false,
"lastLogin": "2023-10-04T02:42:34+00:00",
"passwordExpired": false,
"status": "active",
"teamId": [
"64c863d1d7e8d0458d004fcd"
],
"roleId": "64c70f5730ae176dbf0267f8",
"role": {
"_id": "660cd75cdbd3401dc874c7b9",
"name": "owner",
"isAdmin": true,
"isDefault": true,
"permissionList": [
"6156d6475320c9679e337eba"
],
"permissionDetails": [
{
"permissionName": "view/checkincheckout",
"interval": null,
"checkinRadius": null,
"checkoutRadius": null
}
],
"permissions": [
{
"name": "view/dashboard",
"module": "dashboard",
"menu": "dashboard",
"displayName": "View dashboard",
"access": true,
"meta": {}
}
],
"organizationId": "660cd75cdbd3401dc874c7b8",
"passwordPolicyId": null,
"updatedTime": "2024-04-03T04:13:16.516000Z",
"createdTime": "2024-04-03T04:13:16.516000Z"
},
"hubId": [
"64c863d1d7e8d0458d004fcd"
],
"organizationId": "64c70f5730ae176dbf0267f6",
"organization": {
"_id": "660cd75cdbd3401dc874c7b8",
"user": {
"name": "Paketid",
"country": "IDN",
"phoneNumber": "+62 091291821",
"numberOfUsers": "1-50",
"industry": "Distribution",
"position": "Owner/Director",
"email": "[email protected]",
"companyName": "Paketid",
"hub": {
"name": "Jakarta",
"displayName": "Jakarta",
"address": "9, Jalan Medan Merdeka Utara, Jakarta Pusat 10110, Indonesia",
"lat": "-6.1716049",
"lng": "106.8264828"
},
"flows": [
"63a561c0fd378bcce9877d31"
]
},
"productId": "prod-X123ab",
"productName": "Enterprise",
"status": "verified",
"verifiedTime": "2024-04-03T04:14:55+00:00",
"curPeriodEndTime": null,
"curPeriodStartTime": null,
"eligible": true,
"configuration": {
"filesAccessPermission": "private",
"filesServerProvider": "milesto"
},
"updatedTime": "2024-04-03T04:14:56+00:00",
"createdTime": "2024-04-03T04:13:16+00:00",
"customerId": {
"idr": "cus_Pr3KtKHneZyXyP",
"usd": null
},
"country": {
"code": "IDN",
"phoneCode": "+62",
"name": "Indonesia",
"alpha2Code": "ID",
"enableLanguage": true,
"language": "id",
"languageName": "Indonesian"
}
},
"updatedTime": "2023-10-04T02:42:34+00:00",
"createdTime": "2023-07-31T01:33:11+00:00"
}Objects
User object
Indicates the current status of the user account within an organization. Accepted values are:
`active` : The account is currently active and the user can perform actions based on their role.
`inactive` : The user has registered a new organization but has not completed email verification.
`pending` : The user has been invited to this organization but has not yet accepted the invitation.
`disabled` : The account has been deactivated by the organization and cannot be used.
`reject` : The user has either accepted an invitation from another organization or created a new organization, causing all other pending invitations to be automatically rejected.