Add an email domain
POST/admin/domains
Inserts a new domain. If a row with the same domain already exists the request is a no-op and returns 200 with { message }; otherwise 201 with the new row. Requires Admin or TrialAdmin role.
Request
Responses
- 200
- 201
- 400
- 500
Domain already exists
Domain created
Bad request
Server error