RedirectDomainCreateRequest

Request Information
TYPE Request
CategoryObjects

Description

Object: RedirectDomainCreateRequest

Properties

name type required default description
domain string yes The host to create
rules array <RedirectDomainRule> yes array

Sample JSON

{
  "domain": "metaregistrar.work",
  "rules": [
    {
      "subdomain": "redirect[1|3]",
      "path": "/*",
      "action": "302",
      "target": "https://control-ote.metaregistrar.com/?redirect1or3"
    },
    {
      "subdomain": "redirect2",
      "path": "/*",
      "action": "302",
      "target": "https://control-ote.metaregistrar.com/?redirect2"
    },
    {
      "subdomain": "redirect4",
      "path": "/*",
      "action": "interstitial",
      "target": "https://control-ote.metaregistrar.com/?redirect4"
    }
  ]
}