Email

Create an alias or the domain catch-all

post/email/domains/{domainId}/aliases

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/email/domains/{domainId}/aliases
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

domainIdstring uuid required

Request body

domainIdstring uuid required
localPartstring

omit (or set catchAll) to create the domain catch-all address

catchAllboolean
destinationsstring[] required

Response

Created

idstring uuid required
domainIdstring uuid required
addressstring required
destinationsstring[] required
activeboolean required
catchAllboolean required
createdAtstring required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.