Update HTTP forward
update_forwardChange the destination URL or frame setting for an existing HTTP forward on a Domeneshop domain using its domain ID and host; to change the host, delete and recreate the forward.
Instructions
Update an existing HTTP forward for a domain. Returns the stored forward. frame keeps its stored value unless given. The host itself cannot be changed: to move a forward, delete it and create it again for the new host.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_id": "<domain_id>",
"host": "<host>",
"url": "<url>"
},
"name": "update_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the destination URL to forward requests to, including the scheme: http://, https:// or ftp:// | |
| 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 for a new forward and to the stored value when updating | |
| domain_id | Yes | the Domeneshop domain ID, from list_domains |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| host | Yes | ||
| frame | No |