Remove a website redirect
delete_redirectDelete a redirect rule from a website. Get the redirectId from list_redirects. Once removed, the old path stops redirecting and will 404 unless a page exists there. Redirect rules take effect when the site is next published; publishing is a separate step.
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": {
"siteId": "<siteId>",
"redirectId": "<redirectId>"
},
"name": "delete_redirect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The website these redirects belong to (id from list_sites). | |
| redirectId | Yes | The rule to delete (redirectId from list_redirects). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| siteId | Yes | ||
| deleted | Yes | Always true here: a delete that matched nothing is an error result, not a success with deleted:false. | |
| redirectId | Yes |