Update a user's name and role.
Note: This endpoint is only available to Workspaces on our Enterprise Plan.
{- "username": "User Name",
- "admin": false,
- "custom_role_id": 998877
}
{- "member": {
- "user": {
- "id": 184,
- "username": "User Name",
- "email": "user@example.com",
- "color": null,
- "profilePicture": null,
- "initials": "G",
- "role": 3,
- "custom_role": {
- "id": 998877,
- "name": "member custom"
}, - "last_active": null,
- "date_joined": null,
- "date_invited": "1583358383412"
}, - "invited_by": {
- "id": 183,
- "color": "#827718",
- "username": "Jerry",
- "email": "jerry@example.com",
- "initials": "J",
}, - "shared": {
- "tasks": [ ],
- "lists": [ ],
- "folders": [ ]
}
}
}