Type: object
Attribute | Type | Description |
---|---|---|
user | User | - |
tags | string[] | Tags of the user in the organization |
role | string ("owner" , "admin" , "editor" , "member" or "alien" ) | The role of the user in the organization ☝️Note that the Developer role maps to member and the Reviewer role maps to alien in the API. |
restricted | boolean | Whether the user's membership is restricted to only the projects that they are member of |
invited | number (Optional) | Invitation timestamp of the user to the organization |
Example
{
"user": {
"id": "5d9caaecb4a3fa9bc9718686",
"email": "[email protected]",
"username": "zozo",
"emotar": "🍎",
"avatar": "http://placekitten.com/200/300",
"last_seen": 1616739240
},
"role": "owner",
"tags": [
"developers"
],
"restricted": false,
"invited": 1517184000
}