Update HTTP forward
update_forwardModify the destination URL or frame setting of an existing HTTP forward for a domain. To change the host, delete the forward and create a new one.
Instructions
Update an existing HTTP forward for a domain. Returns the stored forward. frame is reset to false unless given. The host itself cannot be changed: to move a forward, delete it and create it again for the new host.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the destination URL to forward requests to, starting with http:// or https:// | |
| host | Yes | the host/subdomain to forward, e.g. 'www' or '@' for the root | |
| frame | No | if true, show the destination in a frame instead of redirecting; defaults to false | |
| domain_id | Yes | the Domeneshop domain ID, from list_domains |