This function generates a one-time password (OTP) for a mailing list.
Note:
The generated password expires after one use.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ generate_mailman_otp \ list='mylist'
{- "apiversion": 3,
- "func": "generate_mailman_otp",
- "module": "Email",
- "result": {
- "data": "LfFYLPRT_UoS4EDi9lGKuOFK8FaWQsozzPYn8WjM3",
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}