Update redirect
update_redirectUpdate a redirect source, destination, status code, or active state. Requires manageBlog permission on the target blog. Blog-scoped API keys are supported.
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": {
"blogId": "<blogId>",
"redirectId": "<redirectId>"
},
"name": "update_redirect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Whether this redirect should be applied. | |
| blogId | Yes | Blog ID. Use list_blogs to discover available blog IDs. | |
| redirectId | Yes | Redirect ID. | |
| destination | No | Updated destination site path or absolute HTTP(S) URL. | |
| source_path | No | Updated incoming site path, starting with a single /. | |
| status_code | No | Updated HTTP redirect status code. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |