Skip to main content
 print this page

Check if an email domain is whitelisted

GET 

/user-domains/:domain

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. No request body or query parameters are required.

Request

Responses

Returns true if the domain is whitelisted, false otherwise.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers