User Email Domain Management
APIs related to User Email Domain Management.
📄️ List allowed user email domains
Returns the allow-listed email domains used when creating users, plus LastModifiedBy and LastModifiedTime. Requires system-settings.view.
📄️ Update allowed user email domains
Replaces the allow-listed email domains. Requires system-settings.manage. Send Domains as a string array; each entry is stripped and joined with commas. An empty array, or a joined value longer than 4000 characters, returns IPV-1015. Omitting Domains keeps the current list and still overwrites LastModifiedBy. Extra body keys are ignored. UserId in the body is overwritten with the caller. Not idempotent for the modifier metadata even if the list is unchanged.
📄️ Check if an email domain is whitelisted
Checks whether the given email domain is present in the system's whitelisted user email domains (stored in SSM parameter /adp/amorphic/config/useremaildomain). Returns true if the domain is in the comma-separated whitelist or if the whitelist value is '*' (all domains allowed). Returns false otherwise.