URL | PATCH {{basepath}}/redirectdomain/:domain/rule/:rule |
---|---|
Category | Redirect |
Updates a redirectdomain rule
Expects a RedirectDomainUpdateRuleRequest object.
Returns a RedirectDomainUpdateRuleResponse object.
:domain | {{testdomain}} | |
---|---|---|
:rule | 100 |
{
"subdomain": "*",
"path": "\/*",
"action": "301",
"target": "https:\/\/www.metaregistrar.com\/wildcard"
}
PATCH {{basepath}}/redirectdomain/:domain/rule/:rule
{
"subdomain": "*",
"path": "\/*",
"action": "301",
"target": "https:\/\/www.metaregistrar.com\/wildcard"
}
:domain | {{testdomain}} | |
---|---|---|
:rule | 70 |
200 OK
{
"responseId": "mapi1_fb1f9439130700ad8bf0ce1729e79cb1e1184a03",
"status": "ok",
"message": "RedirectDomain rule updated, pending sync"
}