Create an email forward
Changed onCreates a new email forward for the domain.
Request
- Base URLhttps://api.dnsimple.com/v2
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The account id
The domain name or id
Request body
Example request
{
"alias_name": "john.doe",
"destination_email": "john@example.com"
}Response
Successfully created new email forward.
Example response
{
"data": {
"id": 1,
"domain_id": 2,
"alias_email": "john.doe@a-domain.com",
"destination_email": "john@example.com",
"created_at": "2016-02-04T14:26:50Z",
"updated_at": "2016-02-04T14:26:50Z",
"active": true
}
}Changes
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status
- warning
- info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- info