Skip to content

Update blacklisted email domains

Request

Replaces the full list of blacklisted email domains for the tenant. Existing blacklisted email domains are removed and replaced with the values provided in the request body.

To remove all blacklisted email domains, provide an empty array.

Security
ZephrHmacHttp
Bodyapplication/jsonrequired

List of email domains to blacklist

Array of strings, >= 0 items, unique(blacklisted-email-domains-request)

List of email domains to blacklist.

[ "spam.com" ]

Responses

OK - Blacklisted email domains were updated successfully

Headers
any
Bodyapplication/json
messagestring
Example:"Blacklisted email domains updated successfully"
Response
{ "message": "Blacklisted email domains updated successfully" }