Update Redirect By Id
PATCH/funnels/lookup/redirect/:id
The "Update Redirect By Id" API Allows updating an existing URL redirect in the system. Use this endpoint to modify a URL redirect with the specified ID using details provided in the request payload.
Request
Version stringrequired
API Version
Available options
v3id stringrequired
- application/json
- Body
- Example (auto)
Bodyrequired
targetstringrequired
actionstringrequired
Available options
funnelwebsiteurlalllocationIdstringrequired
{
"target": "https://www.google.com",
"action": "URL",
"locationId": "6p2RxpgtMKQwO3E6IUaT"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
dataobjectrequired
Data containing details of the updated redirect
{
"data": {
"id": "6p2RxpgtMKQwO3E6IUaT",
"locationId": "6p2RxpgtMKQwO3E6IUaT",
"domain": "www.example.com",
"path": "/old-path",
"pathLowercase": "/old-path",
"type": "Permanent",
"target": "https://www.example.com/new-path",
"action": "url"
}
}