This function sets or changes primary and secondary email addresses.
uapi --output=jsonpretty \ --user=username \ Team \ set_contact_email \ user='teamUser'
{- "apiversion": 3,
- "func": "set_contact_email",
- "module": "Team",
- "result": {
- "data": { },
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}